Prevent runaway pagination

This commit is contained in:
Eric Bailey
2026-01-25 15:07:11 -06:00
committed by Samuel Newman
parent cd7a39ecd7
commit 83b47db1b6
@@ -35,7 +35,7 @@ export function useDraftsQuery() {
} }
}, },
initialPageParam: undefined as string | undefined, initialPageParam: undefined as string | undefined,
getNextPageParam: page => page.cursor, getNextPageParam: page => page.cursor || undefined,
}) })
} }