reaviz / reaflow

🎯 React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.
https://reaflow.dev
Apache License 2.0
2.07k stars 120 forks source link

Wrong import for types in useSelection #39

Closed KamalAman closed 3 years ago

KamalAman commented 3 years ago

https://github.com/reaviz/reaflow/blob/b399e01188505bdd666abd562079dcb18f9d9a1f/src/helpers/useSelection.ts#L3

You're importing import { EdgeData, NodeData } from 'types';

Node thinks you're trying to import a module named types instead of types file on your root.

amcdnl commented 3 years ago

Thanks! Resolved in 2.6.4