Skip to content

Commit a781a13

Browse files
mark a task as done
1 parent 40a5762 commit a781a13

File tree

1 file changed

+1
-1
lines changed
  • ep12-make-done-really-work/app/components

1 file changed

+1
-1
lines changed

ep12-make-done-really-work/app/components/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default class App extends React.Component {
5858
Number of total tasks: { this.state.todos.length }
5959
</p>
6060
<p>
61-
Number of total tasks done: { this.state.todos.filter((todo) => { todo.done }).length }
61+
Number of total tasks done: { this.state.todos.filter((todo) => { return todo.done }).length }
6262
</p>
6363

6464
<DisplayList

0 commit comments

Comments
 (0)