diff --git a/src/features/todos/TodoList.js b/src/features/todos/TodoList.js
index 8edc97c..0914dda 100644
--- a/src/features/todos/TodoList.js
+++ b/src/features/todos/TodoList.js
@@ -33,8 +33,8 @@ const TodoList = () => {
const [ addTodo ] = useAddTodoMutation()
const [ doneTodo ] = useDoneTodoMutation()
const [ deleteTodo ] = useDeleteTodoMutation()
- const [ reorderTodo ] = useReorderTodoMutation()
- const [ resetTodo ] = useResetTodoMutation()
+ const [ reorderTodo, { isLoading: reorderTodoLoading } ] = useReorderTodoMutation()
+ const [ resetTodo, { isLoading: resetTodoLoading } ] = useResetTodoMutation()
// Effect to load todos from local storage if there is cache
@@ -133,7 +133,7 @@ const TodoList = () => {
}
let content;
- if (isLoading) {
+ if (isLoading || reorderTodoLoading || resetTodoLoading) {
content =