diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/components/ui/Loader.tsx | |
parent | 5.6.4-nightly.24 [skip ci] (diff) | |
download | ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip |
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/components/ui/Loader.tsx')
-rw-r--r-- | src/components/ui/Loader.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/ui/Loader.tsx b/src/components/ui/Loader.tsx index 1173c11e7..171d0e290 100644 --- a/src/components/ui/Loader.tsx +++ b/src/components/ui/Loader.tsx | |||
@@ -12,8 +12,6 @@ type Props = { | |||
12 | stores: FerdiStores; | 12 | stores: FerdiStores; |
13 | }; | 13 | }; |
14 | 14 | ||
15 | @inject('stores') | ||
16 | @observer | ||
17 | class LoaderComponent extends Component<Props> { | 15 | class LoaderComponent extends Component<Props> { |
18 | static defaultProps = { | 16 | static defaultProps = { |
19 | loaded: false, | 17 | loaded: false, |
@@ -43,4 +41,4 @@ class LoaderComponent extends Component<Props> { | |||
43 | } | 41 | } |
44 | } | 42 | } |
45 | 43 | ||
46 | export default LoaderComponent; | 44 | export default inject('stores')(observer(LoaderComponent)); |