added cautionary comment about logins to App

This commit is contained in:
Aaro Koivukangas
2025-12-09 20:07:32 +02:00
parent 559343d063
commit 0ad7c41103
+2
View File
@@ -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)