diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/components/ui/ToggleRaw.js | |
parent | 5.6.4-nightly.24 [skip ci] (diff) | |
download | ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip |
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/components/ui/ToggleRaw.js')
-rw-r--r-- | src/components/ui/ToggleRaw.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/ui/ToggleRaw.js b/src/components/ui/ToggleRaw.js index 74292a870..e482b97b4 100644 --- a/src/components/ui/ToggleRaw.js +++ b/src/components/ui/ToggleRaw.js | |||
@@ -6,7 +6,6 @@ import PropTypes from 'prop-types'; | |||
6 | import { observer } from 'mobx-react'; | 6 | import { observer } from 'mobx-react'; |
7 | import classnames from 'classnames'; | 7 | import classnames from 'classnames'; |
8 | 8 | ||
9 | @observer | ||
10 | class ToggleRaw extends Component { | 9 | class ToggleRaw extends Component { |
11 | static propTypes = { | 10 | static propTypes = { |
12 | onChange: PropTypes.func.isRequired, | 11 | onChange: PropTypes.func.isRequired, |
@@ -74,4 +73,4 @@ class ToggleRaw extends Component { | |||
74 | } | 73 | } |
75 | } | 74 | } |
76 | 75 | ||
77 | export default ToggleRaw; | 76 | export default observer(ToggleRaw); |