diff options
author | 2018-11-15 22:10:02 +0100 | |
---|---|---|
committer | 2018-11-15 22:10:02 +0100 | |
commit | 891a7d6642f5e8c4d4f56280e29489524f0d5286 (patch) | |
tree | 1cb5b86a5c790f4126dbac5686374eb7937cb093 /src/components/ui/Toggle.js | |
parent | Switch to npm (diff) | |
download | ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.tar.gz ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.tar.zst ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.zip |
Fix linting errors
Diffstat (limited to 'src/components/ui/Toggle.js')
-rw-r--r-- | src/components/ui/Toggle.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/ui/Toggle.js b/src/components/ui/Toggle.js index 62d46393e..f7c2ec955 100644 --- a/src/components/ui/Toggle.js +++ b/src/components/ui/Toggle.js | |||
@@ -4,8 +4,7 @@ import { observer } from 'mobx-react'; | |||
4 | import classnames from 'classnames'; | 4 | import classnames from 'classnames'; |
5 | import { Field } from 'mobx-react-form'; | 5 | import { Field } from 'mobx-react-form'; |
6 | 6 | ||
7 | @observer | 7 | export default @observer class Toggle extends Component { |
8 | export default class Toggle extends Component { | ||
9 | static propTypes = { | 8 | static propTypes = { |
10 | field: PropTypes.instanceOf(Field).isRequired, | 9 | field: PropTypes.instanceOf(Field).isRequired, |
11 | className: PropTypes.string, | 10 | className: PropTypes.string, |