Unexpected block statement surrounding arrow body

The block statement isn’t needed for a single expression.

this.state.todos.filter(filterTodo => filterTodo !== todo);

Leave a Comment