mirror of
https://github.com/bendtherules/react-hooks-with-class.git
synced 2026-08-18 22:03:11 +00:00
Fix typo
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ export default class App extends Component {
|
||||
}
|
||||
|
||||
toggleComplete = (i) => {
|
||||
this.this.setTodos(
|
||||
this.setTodos(
|
||||
this.getTodos().map(
|
||||
(todo, k) =>
|
||||
k === i
|
||||
|
||||
Reference in New Issue
Block a user