summaryrefslogtreecommitdiffstats
path: root/webapp/components/root.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/root.jsx')
-rw-r--r--webapp/components/root.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/root.jsx b/webapp/components/root.jsx
index 6907e84e4..701ee6e80 100644
--- a/webapp/components/root.jsx
+++ b/webapp/components/root.jsx
@@ -20,8 +20,8 @@ export default class Root extends React.Component {
constructor(props) {
super(props);
this.state = {
- locale: 'en',
- translations: null
+ locale: LocalizationStore.getLocale(),
+ translations: LocalizationStore.getTranslations()
};
this.localizationChanged = this.localizationChanged.bind(this);
@@ -113,7 +113,7 @@ export default class Root extends React.Component {
LocalizationStore.addChangeListener(this.localizationChanged);
// Get our localizaiton
- GlobalActions.loadDefaultLocale();
+ GlobalActions.loadCurrentLocale();
}
componentWillUnmount() {