From 057ceb1000bcaa1ed49c30794ab4af1a1af78485 Mon Sep 17 00:00:00 2001 From: Igor Papandinas Date: Fri, 19 Jan 2024 18:03:07 +0100 Subject: [PATCH] fix: Build fixed --- components/search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/search.tsx b/components/search.tsx index f5dd803..f5025a2 100644 --- a/components/search.tsx +++ b/components/search.tsx @@ -34,7 +34,7 @@ const Search: FC = ({ if (value === undefined || value === "") { return; } - const newUrl = createUrl(placeholder, value, pathname, params); + const newUrl = createUrl(placeholder, [value], pathname); router.replace(newUrl, { scroll: false }); }, [params, pathname, placeholder, router, value]);