From afcadb9508803f4eea1b516efaae4615a9e91161 Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Mon, 17 Feb 2025 14:08:07 +0100
Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Fix=20hooks=20in=20the=20T?=
=?UTF-8?q?abOverview=20component?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/ppcp-settings/resources/js/data/todos/hooks.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/ppcp-settings/resources/js/data/todos/hooks.js b/modules/ppcp-settings/resources/js/data/todos/hooks.js
index 79fc2e19a..57172e24b 100644
--- a/modules/ppcp-settings/resources/js/data/todos/hooks.js
+++ b/modules/ppcp-settings/resources/js/data/todos/hooks.js
@@ -101,9 +101,8 @@ export const useStore = () => {
};
export const useTodos = () => {
- const { todos, fetchTodos, dismissTodo, setTodoCompleted, isReady } =
- useHooks();
- return { todos, fetchTodos, dismissTodo, setTodoCompleted, isReady };
+ const { todos, fetchTodos, dismissTodo, setTodoCompleted } = useHooks();
+ return { todos, fetchTodos, dismissTodo, setTodoCompleted };
};
export const useDismissedTodos = () => {