Skip to content

Commit

Permalink
fix: Build fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Jan 19, 2024
1 parent 2b0ff96 commit 057ceb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Search: FC<SearchProps> = ({
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]);

Expand Down

0 comments on commit 057ceb1

Please sign in to comment.