aboutsummaryrefslogtreecommitdiffstats
path: root/src/I18n.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/I18n.js')
-rw-r--r--src/I18n.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/I18n.js b/src/I18n.js
index 2a50050ee..b10c5a94b 100644
--- a/src/I18n.js
+++ b/src/I18n.js
@@ -12,7 +12,7 @@ import AppStore from './stores/AppStore';
12@observer 12@observer
13class I18N extends Component { 13class I18N extends Component {
14 componentDidUpdate() { 14 componentDidUpdate() {
15 window.ferdi.menu.rebuild(); 15 window['ferdi'].menu.rebuild();
16 } 16 }
17 17
18 render() { 18 render() {
@@ -22,7 +22,7 @@ class I18N extends Component {
22 <IntlProvider 22 <IntlProvider
23 {...{ locale, key: locale, messages: translations[locale] }} 23 {...{ locale, key: locale, messages: translations[locale] }}
24 ref={intlProvider => { 24 ref={intlProvider => {
25 window.ferdi.intl = intlProvider ? intlProvider.state.intl : null; 25 window['ferdi'].intl = intlProvider ? intlProvider.state.intl : null;
26 }} 26 }}
27 > 27 >
28 {children} 28 {children}