useNativeBalance return undefined after refresh page

Hello,

I use the hook useNativeBalance like mention it here : https://github.com/ethereum-boilerplate/ethereum-boilerplate#usenativebalance

but i have a problem when i refresh the page the balance become undefined !

maybe you need to use useEffect

1 Like