-
I have custom chains added to wagmi on an L2. Using metamask for testing. Currently when I switch from the dropdown, the spinner spins, and it says "Approve in Wallet" for a while, but wallet doesn't request adding network. I see this is not built into wagmi my client: const wagmiClient = createClient(
getDefaultClient({
appName: 'App Name',
alchemyId, // for wallet-connect
provider,
chains
}),
); |
Beta Was this translation helpful? Give feedback.
Answered by
adiled
Jan 3, 2023
Replies: 1 comment
-
My bad, chainId was wrong, foggy new year 😅 Some error cue in UI though could be useful, like maybe flashing red, a negative message etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adiled
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My bad, chainId was wrong, foggy new year 😅
Some error cue in UI though could be useful, like maybe flashing red, a negative message etc.