mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Fix bigcommerce brands (#837)
This commit is contained in:
@@ -50,7 +50,7 @@ export default function Search({ categories, brands }: SearchPropsType) {
|
||||
const { data, error } = useSearch({
|
||||
search: typeof q === 'string' ? q : '',
|
||||
categoryId: activeCategory?.id,
|
||||
brandId: (activeBrand as any)?.id,
|
||||
brandId: activeBrand?.id,
|
||||
sort: typeof sort === 'string' ? sort : '',
|
||||
locale,
|
||||
})
|
||||
|
Reference in New Issue
Block a user