Skip to content

Commit

Permalink
display count of total tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajsingh0101 committed Aug 26, 2015
1 parent dcb7c4a commit 37c61d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ep09-display-count/app/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ export default class App extends React.Component {
<button> Submit </button>
</form>

<p>
Number of total tasks: { this.state.items.length }
</p>

<DisplayList
handleDelete={this.handleDelete.bind(this)}
items={this.state.items} />
Expand Down

0 comments on commit 37c61d8

Please sign in to comment.