react-sortable-tree icon indicating copy to clipboard operation
react-sortable-tree copied to clipboard

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

Open benatshippabo opened this issue 4 years ago • 0 comments

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 🤔

benatshippabo avatar Apr 07 '21 20:04 benatshippabo