diff options
author | 2019-02-06 20:28:15 +0100 | |
---|---|---|
committer | 2019-02-06 20:28:15 +0100 | |
commit | 14b151cad6a5a849bb476aaa3fc53bf1eead7f4b (patch) | |
tree | 8daa38d28fe21e1745093962526dd36744be4274 /packages/ui/src/infobox/index.tsx | |
parent | update versions (diff) | |
download | ferdium-app-14b151cad6a5a849bb476aaa3fc53bf1eead7f4b.tar.gz ferdium-app-14b151cad6a5a849bb476aaa3fc53bf1eead7f4b.tar.zst ferdium-app-14b151cad6a5a849bb476aaa3fc53bf1eead7f4b.zip |
cleanup
Diffstat (limited to 'packages/ui/src/infobox/index.tsx')
-rw-r--r-- | packages/ui/src/infobox/index.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/ui/src/infobox/index.tsx b/packages/ui/src/infobox/index.tsx index bf985ea9c..53ed16341 100644 --- a/packages/ui/src/infobox/index.tsx +++ b/packages/ui/src/infobox/index.tsx | |||
@@ -1,9 +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 { observer } from 'mobx-react'; | ||
4 | import React, { Component } from 'react'; | 3 | import React, { Component } from 'react'; |
5 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
6 | // import Loader from 'react-loader'; | ||
7 | 5 | ||
8 | import { Icon } from '../'; | 6 | import { Icon } from '../'; |
9 | import { IWithStyle } from '../typings/generic'; | 7 | import { IWithStyle } from '../typings/generic'; |
@@ -95,7 +93,6 @@ const styles = (theme: Theme) => ({ | |||
95 | ...buttonStyles(theme), | 93 | ...buttonStyles(theme), |
96 | }); | 94 | }); |
97 | 95 | ||
98 | @observer | ||
99 | class InfoboxComponent extends Component<IProps, IState> { | 96 | class InfoboxComponent extends Component<IProps, IState> { |
100 | public static defaultProps = { | 97 | public static defaultProps = { |
101 | type: 'primary', | 98 | type: 'primary', |
@@ -160,6 +157,7 @@ class InfoboxComponent extends Component<IProps, IState> { | |||
160 | [classes[`${type}`]]: type, | 157 | [classes[`${type}`]]: type, |
161 | [classes.dismissing]: isDismissing, | 158 | [classes.dismissing]: isDismissing, |
162 | })} | 159 | })} |
160 | data-type="franz-infobox" | ||
163 | > | 161 | > |
164 | {icon && ( | 162 | {icon && ( |
165 | <Icon icon={icon} className={classes.icon} /> | 163 | <Icon icon={icon} className={classes.icon} /> |