Lesson 10 - entrenceFee undefined #3812
-
Hi guys, i am having issues with updateUI function which return entranceFee as undefined.
full code is available on https://github.com/LEO-TEAM-CHAINLINK-HACKATHON/NFTLOTTERY1 |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 17 replies
-
@Leonardll : Correct this line : From this : Let me know, If the issue persists.. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am getting the exact same error, please share if you solved it :) |
Beta Was this translation helpful? Give feedback.
-
can you do |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @engsbergp i can see you are using Typescript which i am not too familiar with. You can have look at my repo and check my code. Hope this can help |
Beta Was this translation helpful? Give feedback.
-
I could not fix this error for a long time and figured out that there was no need to It was adding a stringified version of json in my |
Beta Was this translation helpful? Give feedback.
-
I know this is old. But for users still coming to look for answers here. I solved it by changing this... To this const raffleAddress = chainId in contractAddresses ? null : contractAddresses[chainId][0] |
Beta Was this translation helpful? Give feedback.
Hi, I am getting the exact same error, please share if you solved it :)