diff --git a/client/src/ui/organisms/article-actions/language-menu/index.tsx b/client/src/ui/organisms/article-actions/language-menu/index.tsx index 68a75e17802f..14e1955f9ed1 100644 --- a/client/src/ui/organisms/article-actions/language-menu/index.tsx +++ b/client/src/ui/organisms/article-actions/language-menu/index.tsx @@ -140,11 +140,9 @@ function LocaleRedirectSetting() { function toggle(event) { const newValue = event.target.checked; if (newValue) { - if (!getCookieValue(PREFERRED_LOCALE_COOKIE_NAME)) { - setCookieValue(PREFERRED_LOCALE_COOKIE_NAME, locale, { - maxAge: 60 * 60 * 24 * 365 * 3, - }); - } + setCookieValue(PREFERRED_LOCALE_COOKIE_NAME, locale, { + maxAge: 60 * 60 * 24 * 365 * 3, + }); setPreferredLocale(locale); } else { deleteCookie(PREFERRED_LOCALE_COOKIE_NAME);