forked from crowetic/commerce
Default to Bigcommerce
This commit is contained in:
parent
b852cd4779
commit
d981475818
@ -75,8 +75,7 @@ export default function Search({
|
|||||||
|
|
||||||
const { data } = useSearch({
|
const { data } = useSearch({
|
||||||
search: typeof q === 'string' ? q : '',
|
search: typeof q === 'string' ? q : '',
|
||||||
// @ts-ignore Swell - Fix this types
|
categoryId: activeCategory?.entityId,
|
||||||
categoryId: activeCategory?.entityId as any,
|
|
||||||
brandId: (activeBrand as any)?.entityId,
|
brandId: (activeBrand as any)?.entityId,
|
||||||
sort: typeof sort === 'string' ? sort : '',
|
sort: typeof sort === 'string' ? sort : '',
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user