4
0
forked from crowetic/commerce

Default to Bigcommerce

This commit is contained in:
cond0r 2021-05-13 17:00:10 +03:00
parent b852cd4779
commit d981475818

View File

@ -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 : '',
})