-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement WorldApp global var check #39
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
b2c9431
to
a5a8338
Compare
@@ -18,6 +24,8 @@ export const ClientContent = () => { | |||
<hr /> | |||
|
|||
<div className="grid gap-y-8"> | |||
<VersionsNoSSR /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andy-t-wang Made it dynamic import because in the demo we are using window.WorldApp inside the JSX markup, and nextjs still trying to hydrate this component end it cause hydration error, text inside <pre*>window.WorldApp</pre*> is not matches between server and client because window is not exist on server
MiniKitInstallErrorMessage, | ||
} from "@worldcoin/minikit-js"; | ||
|
||
export const Versions = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After approval we need to adjust specs