Skip to content

Commit

Permalink
Update MainSection.js (reduxjs#2233)
Browse files Browse the repository at this point in the history
* Update MainSection.js

use arrow function ,the bind() make no sense.

* Remove .bind
  • Loading branch information
inkinworld authored and timdorr committed Feb 8, 2017
1 parent edd9831 commit a461d1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/todomvc/src/components/MainSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export default class MainSection extends Component {
<Footer completedCount={completedCount}
activeCount={activeCount}
filter={filter}
onClearCompleted={this.handleClearCompleted.bind(this)}
onShow={this.handleShow.bind(this)} />
onClearCompleted={this.handleClearCompleted}
onShow={this.handleShow} />
)
}
}
Expand Down

0 comments on commit a461d1e

Please sign in to comment.