Skip to content

ChainId is NaN (cannot convert to string) error and React rendering twice issue #102

Answered by PatrickAlphaC
mitchhs12 asked this question in Q&A
Discussion options

You must be logged in to vote

@Valodax yes, this is an async issue.

Usually, to get around this, I do something like:

if (chainId) {
 // do whatever
}

or something. Is this what my code base is showing too?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants