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.
Habe mir das Docker-Image breakout.azurecr.io/breakout-frontend:fix-login direkt aus der Azure Container Registry geholt und kann bestätigen dass wir damit das Modal fixen.
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.