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/Modal | |
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/Modal')
-rw-r--r-- | src/components/ui/Modal/index.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/ui/Modal/index.tsx b/src/components/ui/Modal/index.tsx index f2f4461b8..c3c78b419 100644 --- a/src/components/ui/Modal/index.tsx +++ b/src/components/ui/Modal/index.tsx | |||
@@ -18,7 +18,6 @@ type Props = { | |||
18 | showClose: boolean; | 18 | showClose: boolean; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | @injectCSS(styles) | ||
22 | class Modal extends Component<Props> { | 21 | class Modal extends Component<Props> { |
23 | static defaultProps = { | 22 | static defaultProps = { |
24 | className: null, | 23 | className: null, |
@@ -64,4 +63,4 @@ class Modal extends Component<Props> { | |||
64 | } | 63 | } |
65 | } | 64 | } |
66 | 65 | ||
67 | export default Modal; | 66 | export default injectCSS(styles)(Modal); |