aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/containers/TodosScreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/containers/TodosScreen.js')
-rw-r--r--src/features/todos/containers/TodosScreen.js6
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';
10import { todoActions } from '../actions'; 10import { todoActions } from '../actions';
11import ServicesStore from '../../../stores/ServicesStore'; 11import ServicesStore from '../../../stores/ServicesStore';
12 12
13@inject('stores', 'actions')
14@observer
15class TodosScreen extends Component { 13class 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
47export default TodosScreen; 45export default inject('stores', 'actions')(observer(TodosScreen));
48 46
49TodosScreen.wrappedComponent.propTypes = { 47TodosScreen.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,