diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index e4b350f..d0cfc51 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -125,6 +125,8 @@ const App = (props) => { const loginInterval = setInterval(async () => { if (!isCustomerReviewPage) { try { + // This has to be the service login and not await loginUser(), because + // loginUser updates redux state which forces a reload => breaks things! await loginService.login() } catch (err) { console.error(err)