We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79749eb commit aab571bCopy full SHA for aab571b
src/hooks/useStudio.ts
@@ -12,8 +12,6 @@ export function useStudioEnabled() {
12
const [studioEnabled, setStudioEnabled] = useState(false);
13
14
const checkStudioEnabled = useCallback(async () => {
15
- setStudioEnabled(true);
16
- return true;
17
if (!contracts || !account) return;
18
const studioEnabled = await contracts.queryRegistry.creatorWhitelist(account);
19
setStudioEnabled(studioEnabled);
0 commit comments