mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
♻️ Fix hooks in the TabOverview component
This commit is contained in:
parent
180e47fa0a
commit
afcadb9508
1 changed files with 2 additions and 3 deletions
|
@ -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 = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue