Fix(lang): update challenge lang on user lang change

This commit is contained in:
Berkeley Martinez
2016-08-12 17:19:34 -07:00
parent 8addca59de
commit 043832302e
2 changed files with 3 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ export default function reactSubRouter(app) {
createApp({
serviceOptions,
location: req.originalUrl,
initialState: { app: { languageTag: lang } }
initialState: { app: { lang } }
})
// if react-router does not find a route send down the chain
.filter(({ redirect, props }) => {