Skip to content

Commit 2a89107

Browse files
authored
🐛 Remove auto-pagination for usePageQuery wrapper (#564)
1 parent 5828147 commit 2a89107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/client/src/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ export function usePageQuery<Entity = unknown, Error = AxiosError>(
131131
queryKey: QueryKey,
132132
queryFn: PageQueryFunction<Entity>,
133133
{
134-
page = 1,
135-
page_size = 20,
134+
page,
135+
page_size,
136136
params,
137137
...options
138138
}: PageQueryOptions<Entity, Pageable<Entity[]>, Error, Pageable<Entity[]>> = {},

0 commit comments

Comments
 (0)