mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-10 21:26:08 -05:00
Fix user search component causing redirects
This commit is contained in:
@@ -43,8 +43,8 @@ export const meta: MetaFunction = (args) => {
|
||||
export type UserSearchLoaderData = SerializeFrom<typeof loader>;
|
||||
|
||||
const searchParamsSchema = z.object({
|
||||
q: z.string().max(100).default(""),
|
||||
limit: z.coerce.number().int().min(1).max(25).default(25),
|
||||
q: z.string().max(100).catch(""),
|
||||
limit: z.coerce.number().int().min(1).max(25).catch(25),
|
||||
});
|
||||
|
||||
export const loader = async ({ request }: LoaderFunctionArgs) => {
|
||||
|
||||
Reference in New Issue
Block a user