diff options
author | Ricardo Cino <ricardo@cino.io> | 2022-07-07 09:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 09:31:50 +0200 |
commit | 71c52373f81cace664047edd19d9d289f45a4dff (patch) | |
tree | 69b3f1d45a8b3f1ceab9497ea3c96e9dc18e3166 /src/I18n.tsx | |
parent | 6.0.0-nightly.91 [skip ci] (diff) | |
download | ferdium-app-71c52373f81cace664047edd19d9d289f45a4dff.tar.gz ferdium-app-71c52373f81cace664047edd19d9d289f45a4dff.tar.zst ferdium-app-71c52373f81cace664047edd19d9d289f45a4dff.zip |
chore: Mobx & React-Router upgrade (#406)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'src/I18n.tsx')
-rw-r--r-- | src/I18n.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/I18n.tsx b/src/I18n.tsx index 5f725eebc..1a69ed1a2 100644 --- a/src/I18n.tsx +++ b/src/I18n.tsx | |||
@@ -24,6 +24,7 @@ class I18N extends Component<Props> { | |||
24 | render(): ReactNode { | 24 | render(): ReactNode { |
25 | const { stores, children } = this.props; | 25 | const { stores, children } = this.props; |
26 | const { locale } = stores.app; | 26 | const { locale } = stores.app; |
27 | |||
27 | return ( | 28 | return ( |
28 | <IntlProvider | 29 | <IntlProvider |
29 | {...{ locale, key: locale, messages: translations[locale] }} | 30 | {...{ locale, key: locale, messages: translations[locale] }} |