Closed sibbl closed 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.
latest
package.json
react-router-dom
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
<Route>
<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.
npm ci
The login modal is broken due to
latest
versions being referenced in thepackage.json
, sincereact-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-routesI'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.