BreakOutEvent / breakout-frontend

Web Frontend
GNU Affero General Public License v3.0
6 stars 2 forks source link

Fix login modal #403

Closed sibbl closed 2 years ago

sibbl commented 2 years ago

The login modal is broken due to latest versions being referenced in the package.json, since react-router-dom v6 is incompatible with our React application.

See their migration guide and the introduction of <Route> components having to be inside a <Routes> component: https://reactrouter.com/docs/en/v6/upgrading/v5#refactor-custom-routes

I'm still a bit unsure why using npm ci in the Dockerfile hasn't fixed this already, but this change should be 2nd attempt at fixing it.