mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: use use
This commit is contained in:
1 parent
faf5bc3619
commit
48ee173cbc
1 file changed
+2
-3
@@ -1,6 +1,5 @@
|
||||
import { useMemo } from 'react';
|
||||
import { use, useMemo } from 'react';
|
||||
import { useApp } from '../stores/app';
|
||||
import { useAwait } from './useAwait';
|
||||
|
||||
let cache: Record<string, boolean> = {};
|
||||
|
||||
@@ -24,5 +23,5 @@ export function useAdExempt() {
|
||||
}),
|
||||
[patreon?.token],
|
||||
);
|
||||
return useAwait(promise);
|
||||
return use(promise);
|
||||
}
|
||||
Reference in new issue
Block a user