Closed Haavi97 closed 7 months ago
Hey @Haavi97, have you tried enabling ssr
?
https://wagmi.sh/react/guides/ssr
const config = createConfig(
getDefaultConfig({
ssr:true,
// ... the rest of your config here
})
);
Yep, that solved it. Thanks!
Describe the bug
Since one of the last updates a week or 2 ago, I'm having problems with the wagmi provider and since I'm not sure it is related to connectkit or wagmi library I'm opening the issue in both. Even though I'm using
"use client";
in my Next RootLayout I keep getting this error:To reproduce
This is the simple code I've used for testing:
Expected behavior
No errors on the log. I'm not sure how it is affecting the app. I have other errors which I'm not sure if they are coming from this one
Environment details
Node v20.10.0 Next 14.1.3 connectkit 1.7.2 wagmi 2.5.7 @tanstack/react-query 5.21.7