change products landing
parent
246f137eda
commit
7eba04ba81
|
@ -449,7 +449,7 @@ const RootData = ({ children }) => {
|
|||
|
||||
const fetchCosmetic = async () => {
|
||||
const res = await fetch(
|
||||
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=553af942-7a14-4757-9a03-a3ebec6c865a`
|
||||
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=553af942-7a14-4757-9a03-a3ebec6c865a&brandIds=e80181ef-d91d-4072-aff3-be2fbb00c0eb`
|
||||
);
|
||||
const Cosmetic = await res.json();
|
||||
setCosmeticData(Cosmetic);
|
||||
|
@ -465,7 +465,7 @@ const RootData = ({ children }) => {
|
|||
|
||||
const fetchEyeCosmetic = async () => {
|
||||
const res = await fetch(
|
||||
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=2e11e55c-0941-49f8-9d22-dfa21088f639`
|
||||
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=2e11e55c-0941-49f8-9d22-dfa21088f639&brandIds=e80181ef-d91d-4072-aff3-be2fbb00c0eb`
|
||||
);
|
||||
const eyeCosmetic = await res.json();
|
||||
setEyeCosmeticData(eyeCosmetic);
|
||||
|
|
Loading…
Reference in New Issue