diff options
author | 2019-02-13 22:39:57 +0100 | |
---|---|---|
committer | 2019-02-13 22:39:57 +0100 | |
commit | 14d07d960f600c4ec2010f3d392b205f14bec3db (patch) | |
tree | efbc6f104e8b3ea4fbc345c4488f73d0339ccd09 | |
parent | Merge branch 'feature/spellcheck-autodetect' into develop (diff) | |
download | ferdium-app-14d07d960f600c4ec2010f3d392b205f14bec3db.tar.gz ferdium-app-14d07d960f600c4ec2010f3d392b205f14bec3db.tar.zst ferdium-app-14d07d960f600c4ec2010f3d392b205f14bec3db.zip |
Add missing withTheme
-rw-r--r-- | packages/ui/src/loader/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ui/src/loader/index.tsx b/packages/ui/src/loader/index.tsx index de5ba5237..46545c786 100644 --- a/packages/ui/src/loader/index.tsx +++ b/packages/ui/src/loader/index.tsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | 1 | import { Theme } from '@meetfranz/theme'; |
2 | import classnames from 'classnames'; | 2 | import classnames from 'classnames'; |
3 | import React, { Component } from 'react'; | 3 | import React, { Component } from 'react'; |
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle, { withTheme } from 'react-jss'; |
5 | import ReactLoader from 'react-loader'; | 5 | import ReactLoader from 'react-loader'; |
6 | 6 | ||
7 | import { IWithStyle } from '../typings/generic'; | 7 | import { IWithStyle } from '../typings/generic'; |
@@ -45,4 +45,4 @@ class LoaderComponent extends Component<IProps> { | |||
45 | } | 45 | } |
46 | } | 46 | } |
47 | 47 | ||
48 | export const Loader = injectStyle(styles)(LoaderComponent); | 48 | export const Loader = injectStyle(styles)(withTheme(LoaderComponent)); |