aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/AppLoader/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/AppLoader/index.tsx')
-rw-r--r--src/components/ui/AppLoader/index.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/ui/AppLoader/index.tsx b/src/components/ui/AppLoader/index.tsx
index c7c290a57..0bb9cb50f 100644
--- a/src/components/ui/AppLoader/index.tsx
+++ b/src/components/ui/AppLoader/index.tsx
@@ -1,7 +1,7 @@
1import { Component } from 'react'; 1import { Component } from 'react';
2import injectSheet, { withTheme } from 'react-jss';
3import classnames from 'classnames'; 2import classnames from 'classnames';
4 3
4import injectStyle from 'react-jss';
5import FullscreenLoader from '../FullscreenLoader'; 5import FullscreenLoader from '../FullscreenLoader';
6import { shuffleArray } from '../../../helpers/array-helpers'; 6import { shuffleArray } from '../../../helpers/array-helpers';
7 7
@@ -24,8 +24,6 @@ type Props = {
24 texts: string[]; 24 texts: string[];
25}; 25};
26 26
27@injectSheet(styles)
28@withTheme
29class AppLoader extends Component<Props> { 27class AppLoader extends Component<Props> {
30 static defaultProps = { 28 static defaultProps = {
31 texts: textList, 29 texts: textList,
@@ -77,4 +75,4 @@ class AppLoader extends Component<Props> {
77 } 75 }
78} 76}
79 77
80export default AppLoader; 78export default injectStyle(styles, { injectTheme: true })(AppLoader);