Fix default page size.

This commit is contained in:
Brian Cao 2023-09-06 12:52:08 -07:00
parent 6bd9916310
commit 36bae3f709
7 changed files with 11 additions and 7 deletions

View file

@ -57,7 +57,7 @@ export default async (
const data = await getReportsByUserId(userId, {
page,
filter,
pageSize: +pageSize || null,
pageSize: +pageSize || undefined,
includeTeams: true,
});