Skip to content

Commit

Permalink
fix: modify the dependency of useMemo to update UI variables (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss authored Sep 26, 2024
1 parent f98130b commit 65b2f8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const HasWallet = ({ wallet }: { wallet: Wallet }): ReactElement => {
}

return inputType === '24seeds';
}, [inputType]);
}, [step, inputType]);

const topSpacing = useMemo(() => {
if (extended) {
Expand Down

0 comments on commit 65b2f8d

Please sign in to comment.