Skip to content

Commit aab571b

Browse files
committed
chore: clear useless
1 parent 79749eb commit aab571b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/hooks/useStudio.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ export function useStudioEnabled() {
1212
const [studioEnabled, setStudioEnabled] = useState(false);
1313

1414
const checkStudioEnabled = useCallback(async () => {
15-
setStudioEnabled(true);
16-
return true;
1715
if (!contracts || !account) return;
1816
const studioEnabled = await contracts.queryRegistry.creatorWhitelist(account);
1917
setStudioEnabled(studioEnabled);

0 commit comments

Comments
 (0)