diff --git a/src/components/redemption/Start.js b/src/components/redemption/Start.js index 9978e16b..82b39902 100644 --- a/src/components/redemption/Start.js +++ b/src/components/redemption/Start.js @@ -30,16 +30,15 @@ const Start = ({ saveAddresses, resetState, openWalletModal }) => { const { active } = useWeb3React() - useEffect(() => { - if (!active) { - openWalletModal() - } - }, [active, openWalletModal]) - const handleClickConfirm = (evt) => { evt.preventDefault() evt.stopPropagation() + if (!active) { + openWalletModal() + return + } + saveAddresses({ btcAddress: btcAddress.address, depositAddress: depositAddress.address,