From 5906534b11410e47b24150a5ed50a4c027319e17 Mon Sep 17 00:00:00 2001 From: Zak Angelle Date: Mon, 20 Dec 2021 13:41:47 -0600 Subject: [PATCH] fix wallet modal error state --- src/components/WalletModal.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/WalletModal.tsx b/src/components/WalletModal.tsx index f209545..2af2185 100644 --- a/src/components/WalletModal.tsx +++ b/src/components/WalletModal.tsx @@ -97,9 +97,7 @@ export default ({ isOpen, close }: Props) => { setIsChangingWallets(false); } - if (!isOpen) { - setHasError(false); - } + setHasError(false); }, [isOpen]); useEffect(() => {