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

fixing invariant check in reducer. Fixes #617 #633

Merged
merged 2 commits into from
Jul 11, 2018

Conversation

alexreardon
Copy link
Collaborator

Fixes #617

`Trying to set droppable isEnabled to ${String(
isEnabled,
)} but it is already ${String(isEnabled)}`,
target.isEnabled !== isEnabled,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this invariant check was the wrong way around.

We need to throw if they are the same.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need these values to be different - otherwise it is an error

@alexreardon alexreardon merged commit a70a34c into master Jul 11, 2018
@alexreardon alexreardon deleted the fixing-droppable-enabled-flag-check branch July 11, 2018 00:59
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