Deleting a link with a Delete press makes the app crash
To reproduce:
- Loading a graph
- Click on a link
- Press Delete
- The app crashes (see log below)
Note that using the button DELETE
in the sidebar deletes the link without issues.
Crash log
Uncaught TypeError: element is undefined edgeData LinkDetails.tsx:21 useStore index.js:59 LinkDetails LinkDetails.tsx:21 React 12 unstable_runWithPriority scheduler.development.js:468 React 4 unstable_runWithPriority scheduler.development.js:468 React 3 workLoop scheduler.development.js:417 flushWork scheduler.development.js:390 performWorkUntilDeadline scheduler.development.js:157