TypeError: Cannot use 'in' operator to search for 'null' in undefined #6120
Answered
by
Adelani10
SamarthBagga
asked this question in
Q&A
-
complete error-
code-
|
Beta Was this translation helpful? Give feedback.
Answered by
Adelani10
Sep 12, 2023
Replies: 1 comment 5 replies
-
Change the 9th line to:-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your /components/index.js file in the frontend, you're exporting "contractAddresses" but in your LotteryEntrance file, you're importing "contractAddress". Make it correlate and see if the issue persists. So it should be:-
then