From 950c9cf9b9034f214677daaf1cdabb74d0986dae Mon Sep 17 00:00:00 2001 From: Mateusz Siller Date: Fri, 23 Oct 2026 19:57:36 +0200 Subject: [PATCH] fix: align page size options with validation limit --- src/routes/community-projects.tsx | 2 +- src/routes/showcase/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/community-projects.tsx b/src/routes/community-projects.tsx index 9df8deb83..fda322e03 100644 --- a/src/routes/community-projects.tsx +++ b/src/routes/community-projects.tsx @@ -19,7 +19,7 @@ const searchSchema = v.object({ q: v.optional(v.pipe(v.string(), v.maxLength(120))), }) -export const PAGE_SIZE_OPTIONS = [24, 48, 96, 192] as const +export const PAGE_SIZE_OPTIONS = [24, 48, 96] as const function hasNonCanonicalSearch(search: v.InferOutput) { return Boolean( diff --git a/src/routes/showcase/index.tsx b/src/routes/showcase/index.tsx index 1bf7c1b61..ebd432b65 100644 --- a/src/routes/showcase/index.tsx +++ b/src/routes/showcase/index.tsx @@ -19,7 +19,7 @@ const searchSchema = v.object({ q: v.optional(v.pipe(v.string(), v.maxLength(120))), }) -export const PAGE_SIZE_OPTIONS = [24, 48, 96, 192] as const +export const PAGE_SIZE_OPTIONS = [24, 48, 96] as const function hasNonCanonicalSearch(search: v.InferOutput) { return Boolean(