diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/features/todos/containers/TodosScreen.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/features/todos/containers/TodosScreen.js')
-rw-r--r-- | src/features/todos/containers/TodosScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/features/todos/containers/TodosScreen.js b/src/features/todos/containers/TodosScreen.js index 536810d2d..b97506767 100644 --- a/src/features/todos/containers/TodosScreen.js +++ b/src/features/todos/containers/TodosScreen.js | |||
@@ -10,8 +10,6 @@ import { TODOS_MIN_WIDTH } from '../../../config'; | |||
10 | import { todoActions } from '../actions'; | 10 | import { todoActions } from '../actions'; |
11 | import ServicesStore from '../../../stores/ServicesStore'; | 11 | import ServicesStore from '../../../stores/ServicesStore'; |
12 | 12 | ||
13 | @inject('stores', 'actions') | ||
14 | @observer | ||
15 | class TodosScreen extends Component { | 13 | class TodosScreen extends Component { |
16 | render() { | 14 | render() { |
17 | if ( | 15 | if ( |
@@ -44,9 +42,9 @@ class TodosScreen extends Component { | |||
44 | } | 42 | } |
45 | } | 43 | } |
46 | 44 | ||
47 | export default TodosScreen; | 45 | export default inject('stores', 'actions')(observer(TodosScreen)); |
48 | 46 | ||
49 | TodosScreen.wrappedComponent.propTypes = { | 47 | TodosScreen.propTypes = { |
50 | stores: PropTypes.shape({ | 48 | stores: PropTypes.shape({ |
51 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | 49 | features: PropTypes.instanceOf(FeaturesStore).isRequired, |
52 | services: PropTypes.instanceOf(ServicesStore).isRequired, | 50 | services: PropTypes.instanceOf(ServicesStore).isRequired, |