Skip to content

Commit

Permalink
fix wallet modal error state
Browse files Browse the repository at this point in the history
  • Loading branch information
zxqx committed Dec 20, 2021
1 parent 15901d3 commit 5906534
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/WalletModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ export default ({ isOpen, close }: Props) => {
setIsChangingWallets(false);
}

if (!isOpen) {
setHasError(false);
}
setHasError(false);
}, [isOpen]);

useEffect(() => {
Expand Down

0 comments on commit 5906534

Please sign in to comment.