Skip to content

Commit 73129a8

Browse files
committed
Extend component class with React.Component in one more file from examples
1 parent 645a77f commit 73129a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/todomvc/containers/TodoApp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import React from 'react';
1+
import React, { Component } from 'react';
22
import { bindActionCreators } from 'redux';
33
import { Connector } from 'redux/react';
44
import Header from '../components/Header';
55
import MainSection from '../components/MainSection';
66
import * as TodoActions from '../actions/TodoActions';
77

8-
export default class TodoApp {
8+
export default class TodoApp extends Component {
99
render() {
1010
return (
1111
<Connector select={state => ({ todos: state.todos })}>

0 commit comments

Comments
 (0)