Skip to content

Conversation

@IMSike
Copy link

@IMSike IMSike commented Oct 6, 2020

When the repo is using with next.js, it generate an error when code is execute on server side because "windows" is undefined on server side. Just encapsulate it in conditional to know if we are on server or not to fix it.

…js generate an error when code is execute on server side
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.

1 participant