From 4a8e2b829032e87fd2731199ab07f1bc028b7124 Mon Sep 17 00:00:00 2001 From: First-Terraner Date: Wed, 27 Mar 2024 17:38:01 +0100 Subject: [PATCH] empty useEffect deps array for restore hook --- src/components/hooks/Restore.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/hooks/Restore.tsx b/src/components/hooks/Restore.tsx index b2a02b78..176fdd6d 100644 --- a/src/components/hooks/Restore.tsx +++ b/src/components/hooks/Restore.tsx @@ -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 } }