aboutsummaryrefslogtreecommitdiffstats
path: root/src/I18n.tsx
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-12-04 10:51:16 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-04 10:51:16 +0100
commit11c992b04f3cad6badf0ae86da65f490e31dd359 (patch)
tree749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/I18n.tsx
parent5.6.4-nightly.24 [skip ci] (diff)
downloadferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz
ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst
ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/I18n.tsx')
-rw-r--r--src/I18n.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/I18n.tsx b/src/I18n.tsx
index 39b5273c1..5d969da1f 100644
--- a/src/I18n.tsx
+++ b/src/I18n.tsx
@@ -16,8 +16,6 @@ type Props = {
16 children: ReactNode; 16 children: ReactNode;
17}; 17};
18 18
19@inject('stores')
20@observer
21class I18N extends Component<Props> { 19class I18N extends Component<Props> {
22 componentDidUpdate() { 20 componentDidUpdate() {
23 window['ferdi'].menu.rebuild(); 21 window['ferdi'].menu.rebuild();
@@ -39,4 +37,4 @@ class I18N extends Component<Props> {
39 } 37 }
40} 38}
41 39
42export default I18N; 40export default inject('stores')(observer(I18N));