summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/apis/queries/hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/apis/queries/hooks.ts')
-rw-r--r--frontend/src/apis/queries/hooks.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/apis/queries/hooks.ts b/frontend/src/apis/queries/hooks.ts
index 70d959bb6..4f8467221 100644
--- a/frontend/src/apis/queries/hooks.ts
+++ b/frontend/src/apis/queries/hooks.ts
@@ -35,7 +35,7 @@ export function usePaginationQuery<
const client = useQueryClient();
const [page, setIndex] = useState(0);
- const [pageSize] = usePageSize();
+ const pageSize = usePageSize();
const start = page * pageSize;