Skip to content

Commit

Permalink
Merge pull request #15 from hyperweb-io/bug/infinite-loop-when-deposit
Browse files Browse the repository at this point in the history
fix infinite loop when deposit
  • Loading branch information
Zetazzz authored Feb 10, 2025
2 parents 85e639c + 0d4e5e1 commit 56af74a
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 56af74a

Please sign in to comment.