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