Skip to content

Commit

Permalink
fix: use Boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
songwongtp committed Aug 22, 2023
1 parent c7eabdd commit 23849ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const CommandSection = observer(
const { isOpen, onClose, onOpen } = useDisclosure();

const { getSchemaByCodeHash } = useSchemaStore();
const attached = !!getSchemaByCodeHash(codeHash);
const attached = Boolean(getSchemaByCodeHash(codeHash));

const { isFetching: isQueryCmdsFetching, queryCmds } =
useQueryCmds(contractAddress);
Expand Down

0 comments on commit 23849ce

Please sign in to comment.