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.
2 parents d0c0aed + f7ecd81 commit b30cdf6Copy full SHA for b30cdf6
src/templates/home.js
@@ -367,7 +367,7 @@ class Timer extends React.Component {
367
}
368
369
tick() {
370
- this.setState((prevState) => ({
+ this.setState(prevState => ({
371
seconds: prevState.seconds + 1
372
}));
373
@@ -432,7 +432,7 @@ class TodoApp extends React.Component {
432
text: this.state.text,
433
id: Date.now()
434
};
435
436
items: prevState.items.concat(newItem),
437
text: ''
438
0 commit comments