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

chore(package.json): remove redundant react-dnd dependency #881

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benatshippabo
Copy link

Issue

If left alone, it causes a headache when trying to meet the peer dependency ^7.3.0 when it doesn't reflect the actual version being used by react-sortable-tree. Juggling with @types/react-sortable-tree there are three separate react-dnd version requirements. And having multiple version of react-dnd will lead to runtime errors.

Fix

Removed react-dnd from peerDependencies since we already declared react-dnd as a normal dependency 🤔

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