fix: use use

This commit is contained in:
TrèsAbhi committed 2024-06-16 17:33:03 -05:00
1 parent faf5bc3619
commit 48ee173cbc
1 file changed
+2 -3
+2 -3
View File
@@ -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);
}