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 40a5762 commit a781a13Copy full SHA for a781a13
ep12-make-done-really-work/app/components/App.jsx
@@ -58,7 +58,7 @@ export default class App extends React.Component {
58
Number of total tasks: { this.state.todos.length }
59
</p>
60
<p>
61
- Number of total tasks done: { this.state.todos.filter((todo) => { todo.done }).length }
+ Number of total tasks done: { this.state.todos.filter((todo) => { return todo.done }).length }
62
63
64
<DisplayList
0 commit comments