change
This commit is contained in:
14
src/app/[locale]/category/page.tsx
Normal file
14
src/app/[locale]/category/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from "react";
|
||||
import CategorySection from "../../../features/home/ui/category-section";
|
||||
import { getCategory } from "@/shared/api/productCategorySvc";
|
||||
|
||||
const Page = async () => {
|
||||
const { data: categoryData } = await getCategory();
|
||||
|
||||
return (
|
||||
<div className={"section-wrapper"}>
|
||||
<CategorySection categories={categoryData} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
export default Page;
|
||||
Reference in New Issue
Block a user