Skip to content

Commit

Permalink
fix: metamask lock state
Browse files Browse the repository at this point in the history
  • Loading branch information
vkabc committed Aug 21, 2023
1 parent f36136f commit a41e45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const Index = () => {
input: <InputPlaceholder setThreshold={sendData} />,
toggle: (
<ToggleGeneric
shouldLoad={state.installedSnap}
shouldLoad={typeof state.installedSnap === "boolean" ? state.installedSnap : false }
onToggle={async () => {
try {
const data = await sendToggleStop(true);
Expand Down

0 comments on commit a41e45e

Please sign in to comment.