export const fetchBrands = async () => {
const {data} = await guestInstance.get('/brand')
console.log(data);
return data
}
export const fetchAllProducts = async (categoryId, brandId, page, limit= 5) => {
const {data} = await guestInstance.get('api/product', {params: {
categoryId, brandId, page, limit
}})
console.log(data);
return data
}