diff --git a/frontend/composables/api/home/useHomeData.ts b/frontend/composables/api/home/useHomeData.ts
index e06c00f..c505894 100644
--- a/frontend/composables/api/home/useHomeData.ts
+++ b/frontend/composables/api/home/useHomeData.ts
@@ -2,7 +2,6 @@
import { useQuery } from "@tanstack/vue-query";
import { API_ENDPOINTS, QUERY_KEYS } from "~/constants";
-import type { GetArticleResponse } from "~/composables/api/blog/useGetArticle";
// types
@@ -16,6 +15,10 @@ export type GetHomeDataResponse = {
video: string | null;
}[];
main_categories: Category[];
+ top_seller_products: ProductListItem[];
+ lot_of_discount_products: ProductListItem[];
+ most_viewed_products: ProductListItem[];
+ trends_products: ProductListItem[];
products: ProductListItem[];
difreance_section: {
image1: string;
diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue
index 4d68984..407d3a5 100644
--- a/frontend/pages/index.vue
+++ b/frontend/pages/index.vue
@@ -2,7 +2,6 @@
// import
import useHomeData from "~/composables/api/home/useHomeData";
-import ProductsGrid from "~/components/global/ProductsGrid.vue";
// state
@@ -25,11 +24,29 @@ if (response.isError) {