Skip to content

Commit

Permalink
fix(suite): fixed receive account select cannot be closed
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasBoda authored and tomasklim committed Dec 27, 2024
1 parent 526775d commit a692870
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ const useCoinmarketVerifyAccount = ({

const onChangeAccount = (account: CoinmarketVerifyFormAccountOptionProps) => {
if (account.type === 'ADD_SUITE' && device) {
setIsMenuOpen(true);
dispatch(
openModal({
type: 'add-account',
Expand All @@ -181,7 +180,7 @@ const useCoinmarketVerifyAccount = ({
selectAccountOption(preselectedAccount);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
}, [accounts]);

useEffect(() => {
methods.trigger();
Expand Down

0 comments on commit a692870

Please sign in to comment.