Skip to content

Commit

Permalink
fix infinite loop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
theothersideofgods committed Feb 10, 2025
1 parent 85e639c commit 0d4e5e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const OverviewTransferWrapper = (
if (!sourceAddress) connectSourceChain();
if (!destAddress) connectDestChain();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [destAddress, sourceAddress, modalControl]);
}, [destAddress, sourceAddress, modalControl.isOpen]);

const closeModal = () => {
modalControl.close();
Expand Down

0 comments on commit 0d4e5e1

Please sign in to comment.