Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
Iryna Mariiko authored and Iryna Mariiko committed Dec 27, 2024
1 parent 2441f2b commit 4501c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const App: React.FC = () => {
}
})
.catch(() => {
setError(ErrorMessage.UpdateTodo);
setError(ErrorMessage.UpdateTodo); //
setTodos(prevTodos => prevTodos);
})
.finally(() => setCurrentTodoIds([]));
Expand Down

0 comments on commit 4501c67

Please sign in to comment.