Lesson 10: function getEntranceFee() is undefined #6569
Unanswered
mikechaban
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Timecode for context
Hi there,
In components/LotteryEntrance.jsx I am trying to log the
entranceFee()
in my console.When running the following piece of code, I receive
undefined
in the browser console (even though I am supposed to get aBigNumber
object)I have looked through several discussions with a similar issue but none of the solutions worked for me.
I run a live website in one VSCode console and
yarn hardhat node
in another console in the hardhat-lottery folderYou can find my repo here
Thank you in advance 💕
Beta Was this translation helpful? Give feedback.
All reactions