diff options
Diffstat (limited to 'packages/ui/src/loader/index.tsx')
-rw-r--r-- | packages/ui/src/loader/index.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/ui/src/loader/index.tsx b/packages/ui/src/loader/index.tsx index 4a3c8274f..244aa9dc9 100644 --- a/packages/ui/src/loader/index.tsx +++ b/packages/ui/src/loader/index.tsx | |||
@@ -1,4 +1,3 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | ||
2 | import classnames from 'classnames'; | 1 | import classnames from 'classnames'; |
3 | import React, { Component } from 'react'; | 2 | import React, { Component } from 'react'; |
4 | import injectStyle, { withTheme } from 'react-jss'; | 3 | import injectStyle, { withTheme } from 'react-jss'; |
@@ -11,7 +10,7 @@ interface IProps extends IWithStyle { | |||
11 | color?: string; | 10 | color?: string; |
12 | } | 11 | } |
13 | 12 | ||
14 | const styles = (theme: Theme) => ({ | 13 | const styles = () => ({ |
15 | container: { | 14 | container: { |
16 | position: 'relative', | 15 | position: 'relative', |
17 | height: 60, | 16 | height: 60, |
@@ -20,12 +19,7 @@ const styles = (theme: Theme) => ({ | |||
20 | 19 | ||
21 | class LoaderComponent extends Component<IProps> { | 20 | class LoaderComponent extends Component<IProps> { |
22 | render() { | 21 | render() { |
23 | const { | 22 | const { classes, className, color, theme } = this.props; |
24 | classes, | ||
25 | className, | ||
26 | color, | ||
27 | theme, | ||
28 | } = this.props; | ||
29 | 23 | ||
30 | return ( | 24 | return ( |
31 | <div | 25 | <div |