fix: refactor OverviewTableClient

This commit is contained in:
Christel Westerberg
2024-09-26 11:51:48 +02:00
parent 56cd02f90b
commit 2a5a3126fe
7 changed files with 146 additions and 133 deletions

View File

@@ -13,7 +13,7 @@ export const rewardsAllInput = z
.default({ unique: false })
export const rewardsCurrentInput = z.object({
limit: z.number().min(0).default(3),
limit: z.number().min(1).default(3),
cursor: z.number().optional().default(0),
lang: z.nativeEnum(Lang).optional(),
})