Skip to content

Commit

Permalink
chore: replace modal.isOpen with modal
Browse files Browse the repository at this point in the history
  • Loading branch information
aizad-deriv committed Jun 5, 2024
1 parent 6ce804d commit 4ffdca7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ const WalletTourGuide = () => {
if (needToStart && modal.isOpen) {
modal.hide();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [needToStart, modal.isOpen]);
}, [needToStart, modal]);

useEffect(() => {
const switchAccountAndRun = async () => {
Expand Down

0 comments on commit 4ffdca7

Please sign in to comment.