Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@maximousblk
Copy link
Contributor

When using SSR in NextJS, window object is not defined. this causes a build error in production.

Tested with NextJS 13.1.6

This change preserves current behavior.

Copy link
Owner

@tol-is tol-is left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @maximousblk!

@tol-is tol-is merged commit 08efa03 into tol-is:main Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants