aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/Button.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/Button.js')
-rw-r--r--src/components/ui/Button.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/ui/Button.js b/src/components/ui/Button.js
index 67c801d98..a52f1cadb 100644
--- a/src/components/ui/Button.js
+++ b/src/components/ui/Button.js
@@ -4,8 +4,6 @@ import { observer, inject } from 'mobx-react';
4import Loader from 'react-loader'; 4import Loader from 'react-loader';
5import classnames from 'classnames'; 5import classnames from 'classnames';
6 6
7@inject('stores')
8@observer
9class Button extends Component { 7class Button extends Component {
10 static propTypes = { 8 static propTypes = {
11 className: PropTypes.string, 9 className: PropTypes.string,
@@ -35,8 +33,6 @@ class Button extends Component {
35 htmlForm: '', 33 htmlForm: '',
36 }; 34 };
37 35
38 element = null;
39
40 render() { 36 render() {
41 const { 37 const {
42 label, 38 label,
@@ -92,4 +88,4 @@ class Button extends Component {
92 } 88 }
93} 89}
94 90
95export default Button; 91export default inject('stores')(observer(Button));