aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ui/src/loader/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/loader/index.tsx')
-rw-r--r--packages/ui/src/loader/index.tsx10
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 @@
1import { Theme } from '@meetfranz/theme';
2import classnames from 'classnames'; 1import classnames from 'classnames';
3import React, { Component } from 'react'; 2import React, { Component } from 'react';
4import injectStyle, { withTheme } from 'react-jss'; 3import injectStyle, { withTheme } from 'react-jss';
@@ -11,7 +10,7 @@ interface IProps extends IWithStyle {
11 color?: string; 10 color?: string;
12} 11}
13 12
14const styles = (theme: Theme) => ({ 13const 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
21class LoaderComponent extends Component<IProps> { 20class 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