Skip to content
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

when rendering on the server window is undefined so no need to return it #672

Merged
merged 2 commits into from Feb 28, 2017

Conversation

liors
Copy link
Contributor

@liors liors commented Feb 24, 2017

When rendering your react app on the server first DragDropContextProvider.js fails when trying to call getWindow() which fails on the server... Adding a simple check to avoid this

@darthtrevino darthtrevino merged commit dc28a61 into react-dnd:master Feb 28, 2017
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.

None yet

2 participants