From d981475818fd1b7880440ea79b036dc19fb7178e Mon Sep 17 00:00:00 2001 From: cond0r Date: Thu, 13 May 2021 17:00:10 +0300 Subject: [PATCH] Default to Bigcommerce --- pages/search.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/search.tsx b/pages/search.tsx index 3b26e7a14..78f784572 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -75,8 +75,7 @@ export default function Search({ const { data } = useSearch({ search: typeof q === 'string' ? q : '', - // @ts-ignore Swell - Fix this types - categoryId: activeCategory?.entityId as any, + categoryId: activeCategory?.entityId, brandId: (activeBrand as any)?.entityId, sort: typeof sort === 'string' ? sort : '', })