Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 99ba7dc

Browse files
committed
call setCookie after loading new app
1 parent 290ba28 commit 99ba7dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/javascript/app_2/App/Components/Routes/route-with-sub-routes.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
Route } from 'react-router-dom';
55
import { redirectToLogin } from '_common/base/login';
66
import BinarySocket from '_common/base/socket_base';
7+
import Language from '_common/language';
78
import routes from 'Constants/routes';
89
import GTM from 'Utils/gtm';
910
import LoginPrompt from '../Elements/login-prompt.jsx';
@@ -30,6 +31,7 @@ const RouteWithSubRoutes = route => {
3031
);
3132
}
3233

34+
Language.setCookie();
3335
const title = route.title ? `${route.title} | ` : '';
3436
document.title = `${ title }${ default_title }`;
3537
BinarySocket.wait('website_status').then(() => {

0 commit comments

Comments
 (0)