Skip to content

Commit

Permalink
empty useEffect deps array for restore hook
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Mar 29, 2024
1 parent 2a19605 commit 4a8e2b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/hooks/Restore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ export function useRestore({ mintUrl, mnemonic, comingFromOnboarding }: IUseRest
}
}
void restore()
}, [comingFromOnboarding, mintUrl, mnemonic, navigation, openPromptAutoClose, t])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])

return { ...restored }
}

0 comments on commit 4a8e2b8

Please sign in to comment.