Skip to content

Commit

Permalink
Merge pull request #13 from srdarkseer/dev
Browse files Browse the repository at this point in the history
functionality: react hook useEffect missing dependency issue resolved
  • Loading branch information
srdarkseer authored Apr 22, 2024
2 parents b69cbe2 + 92c46c1 commit 178a4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Landing/components/PopUpModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const PopUpModal = ({ isOpen }: { isOpen: boolean }) => {
addToast("createPerson function not found in ABI", "error");
}
}
}, [contractABI]);
}, [contractABI, addToast]);

let contract: ethers.Contract | null = null;
if (ethersProvider) {
Expand Down

0 comments on commit 178a4eb

Please sign in to comment.