diff options
Diffstat (limited to 'src/routes.tsx')
-rw-r--r-- | src/routes.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes.tsx b/src/routes.tsx index 569da06a7..192090737 100644 --- a/src/routes.tsx +++ b/src/routes.tsx | |||
@@ -36,8 +36,6 @@ type Props = { | |||
36 | history: any; | 36 | history: any; |
37 | }; | 37 | }; |
38 | 38 | ||
39 | @inject('stores', 'actions') | ||
40 | @observer | ||
41 | class Routes extends Component<Props> { | 39 | class Routes extends Component<Props> { |
42 | render() { | 40 | render() { |
43 | const { locked } = this.props.stores.settings.app; | 41 | const { locked } = this.props.stores.settings.app; |
@@ -94,4 +92,4 @@ class Routes extends Component<Props> { | |||
94 | } | 92 | } |
95 | } | 93 | } |
96 | 94 | ||
97 | export default Routes; | 95 | export default inject('stores', 'actions')(observer(Routes)); |