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 27, 2024
1 parent 80e7824 commit aaf0a8a
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 aaf0a8a

Please sign in to comment.