We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645a77f commit 73129a8Copy full SHA for 73129a8
examples/todomvc/containers/TodoApp.js
@@ -1,11 +1,11 @@
1
-import React from 'react';
+import React, { Component } from 'react';
2
import { bindActionCreators } from 'redux';
3
import { Connector } from 'redux/react';
4
import Header from '../components/Header';
5
import MainSection from '../components/MainSection';
6
import * as TodoActions from '../actions/TodoActions';
7
8
-export default class TodoApp {
+export default class TodoApp extends Component {
9
render() {
10
return (
11
<Connector select={state => ({ todos: state.todos })}>
0 commit comments