From cad515788edab2547304ee7b98ed0b40c433cac4 Mon Sep 17 00:00:00 2001 From: Aamir Azad Date: Wed, 19 Jun 2024 10:57:11 +0530 Subject: [PATCH] feat: seperate user config --- src/app/paperless/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/paperless/page.tsx b/src/app/paperless/page.tsx index adcd8ae..4de8735 100644 --- a/src/app/paperless/page.tsx +++ b/src/app/paperless/page.tsx @@ -88,6 +88,7 @@ function DocumentsPage() { const query = searchParams.get("query"); const QueryResult = useQuery({ + queryKey: ["key", query], queryKey: ["key", query], queryFn: async () => { const response = await fetch("/api/paperless?query=" + query);