Delete useless "tendenza" filter

This commit is contained in:
Daniele Pancottini
2023-03-16 19:00:09 +01:00
parent 6c2278184a
commit a6f012c058
3 changed files with 4 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ const Navbar: FC<NavbarProps> = ({ links }) => {
<UserNav />
</div>
</div>
{process.env.COMMERCE_SEARCH_ENABLED && (
{process.env.COMMERCE_SEARCH_ENABLED && pathname.includes("search") && (
<div className="flex pb-4 lg:px-6 lg:hidden">
<Searchbar id="mobile-search" />
</div>