-
Notifications
You must be signed in to change notification settings - Fork 14
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
EnvScript works on client but not server #144
Comments
You're only working with a client component not server side. |
Doesn't use client mean run both on the server and on the client? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm currently exploring this lib (3.2.2) with next (14.2.4).
Testing it in the app router I get undefined for my env on the server but it works on the client. This throws an hydration error...
Here is my code:
layout.tsx
component on test route:
The text was updated successfully, but these errors were encountered: