Skip to content

Commit

Permalink
seed generation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
razoorka committed Dec 15, 2021
1 parent d6eb8f1 commit 72863a5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ const Registration: React.FC = () => {
// };

useEffect(() => {
if (!seed) {
dispatch(generateRegistrationSeed.request());
}
}, [seed, dispatch]);
dispatch(generateRegistrationSeed.request());
}, [dispatch]);

const handleNextClick: React.MouseEventHandler = () => {
navigate(ROUTES.AUTH.REGISTRATION_CONFIRM);
Expand Down

0 comments on commit 72863a5

Please sign in to comment.