diff --git a/src/app/paperless/page.tsx b/src/app/paperless/page.tsx index 6b8b104..4223dbe 100644 --- a/src/app/paperless/page.tsx +++ b/src/app/paperless/page.tsx @@ -53,7 +53,6 @@ function DocumentsSearch() { ); function onSubmit(values: z.infer) { - if (values.query) if (values.query) router.replace( pathname + "?" + createQueryString("query", values.query),