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.
This commit is contained in:
@@ -57,7 +57,7 @@ export function useTasks(
|
|||||||
setState(prev => ({ ...prev, loading: true, error: null }));
|
setState(prev => ({ ...prev, loading: true, error: null }));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await tasksClient.getTasks(filters);
|
const response = await tasksClient.getTasks({ ...filters, limit: undefined });
|
||||||
|
|
||||||
setState(prev => ({
|
setState(prev => ({
|
||||||
...prev,
|
...prev,
|
||||||
|
|||||||
Reference in New Issue
Block a user