Skip to content

Commit

Permalink
chore: clear useless
Browse files Browse the repository at this point in the history
  • Loading branch information
HuberTRoy committed Dec 13, 2023
1 parent 79749eb commit aab571b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks/useStudio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export function useStudioEnabled() {
const [studioEnabled, setStudioEnabled] = useState(false);

const checkStudioEnabled = useCallback(async () => {
setStudioEnabled(true);
return true;
if (!contracts || !account) return;
const studioEnabled = await contracts.queryRegistry.creatorWhitelist(account);
setStudioEnabled(studioEnabled);
Expand Down

0 comments on commit aab571b

Please sign in to comment.