Skip to content

Commit

Permalink
fix: dependency array
Browse files Browse the repository at this point in the history
  • Loading branch information
yutong-Iris committed Aug 8, 2023
1 parent 3f407e7 commit 36130a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/page-sbt-event/src/hooks/useSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function useSteps() {
} catch (error) {
notifyError(error);
}
}, [decrypt, message, importedKey, navigate, notifyError]);
}, [decrypt, message, importedKey, navigate, notifyError, changeNetwork]);

useEffect(() => {
const credential = _credential?.vc;
Expand Down

0 comments on commit 36130a8

Please sign in to comment.