aboutsummaryrefslogtreecommitdiffstats
path: root/src/I18n.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-27 07:25:26 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-27 07:25:26 +0530
commit477bdd76a7405ff10a5cfabdec00ee9ae02f2698 (patch)
treebfa8cfb70e6852b9f535ccfd9b05712269a70dc1 /src/I18n.js
parentBumped up ferdi beta version to '5.6.3-beta.2' (diff)
parent5.6.3-nightly.44 [skip ci] (diff)
downloadferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.gz
ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.zst
ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.zip
Merge branch 'nightly' into release
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}