Adjust comment

This commit is contained in:
Wolfgang Huß 2022-01-21 21:11:06 +01:00
parent 8a20b994cf
commit ac16345def

View File

@ -30,7 +30,8 @@ export default ({ app, req, cookie, store }) => {
}
const isDifferent = newLocale !== currentLocale
if (isCookie && !isDifferent) { // cookie has to be set, otherwise Cypress test does not work
// cookie has to be set, otherwise Cypress test does not work
if (isCookie && !isDifferent) {
return
}