update search url

This commit is contained in:
SwiftyOS
2024-11-12 11:42:29 +01:00
parent c879599871
commit abb8134761

View File

@@ -10,7 +10,7 @@ export const HeroSection: React.FC = () => {
function onFilterChange(selectedFilters: string[]) {
const encodedTerm = encodeURIComponent(selectedFilters.join(", "));
router.push(`/search?searchTerm=${encodedTerm}`);
router.push(`/store/search?searchTerm=${encodedTerm}`);
}
return (