Autodesk-Forge / forge-dataviz-iot-reference-app

A sample application that demonstrates the functionality of the Forge Viewer Data Visualization extension
https://hyperion.autodesk.io/
MIT License
24 stars 23 forks source link

Missing dep #9

Open scottbentley opened 2 years ago

scottbentley commented 2 years ago

/client/pages/ReferenceApp.jsx imports useLocation from react-router, but this package is not referenced in your package.json file. Caused some small confusion when trying to install according to the QuickStart.

scottbentley commented 2 years ago

Scratch that, it's not a missing dependency, rather, it's a typo in the file client/ReferenceApp.jsx in the import it should be referencing react-router-dom, not react-router. That took 30 mins to diagnose >.<