mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Adjust comment
This commit is contained in:
parent
8a20b994cf
commit
ac16345def
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user