useEtherBalance and useTokenBalance returns undefined
PrathamGit-dev opened this issue · comments
PrathamGit-dev commented
If you look at line 13, the function useTokenBalance should return the amount in the account for that particular token address, but if I check the console, the console gives value undefined and similar for useEtherBalance in line 14. However, account and adress of token is correctly showing up in console. Please suggest a way to correct this.
Patrick Collins commented
I think you might be looking at the wrong repo... This repo uses python not js.
PrathamGit-dev commented
Actually, this ia the front end part where we are using useDapp framework.
This is your tutorial on freecodecamp. Please help me with this.
Thanks.
…On Wed, 13 Jul 2022, 00:59 Patrick Collins, ***@***.***> wrote:
I think you might be looking at the wrong repo... This repo uses python
not js.
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AW5572HS2S2CEYW3Y25PVWTVTXBSFANCNFSM53J2CN3A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>