[HomePanel] SubCategory 부분 불필요한 코드 삭제

This commit is contained in:
junghoon86.park
2024-01-31 18:01:54 +09:00
parent 6e6ef75121
commit be6d521fbb

View File

@@ -1,31 +1,27 @@
import React, { useEffect, useState } from "react";
import { $L } from "../../../utils/helperMethods";
import { useDispatch, useSelector } from "react-redux";
import { Job } from "@enact/core/util";
import Spotlight from "@enact/spotlight";
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator";
import Spottable from "@enact/spotlight/Spottable";
import { useDispatch, useSelector } from "react-redux";
import css from "./SubCategory.module.less";
import { getOnSaleInfo } from "../../../features/onSale/onSaleSlice";
import testimg from "../../../../assets/icon/nor/ic-category-home-nor@3x.png";
import testimg2 from "../../../../assets/icon/nor/ic-category-gift-nor@3x.png";
import CategoryNav from "../../OnSalePanel/CategoryNav/CategoryNav";
import OnSaleProductCard from "../../OnSalePanel/OnSaleProductCard/OnSaleProductCard";
import OnSaleProductsGrid from "../../OnSalePanel/OnSaleProductsGrid/OnSaleProductsGrid";
import TGrid from "../../../components/TGrid/TGrid";
import TItemCard from "../../../components/TItemCard/TItemCard";
import TScroller from "../../../components/TScroller/TScroller";
import { getSubCategory } from "../../../features/main/mainSlice";
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator";
import { getOnSaleInfo } from "../../../features/onSale/onSaleSlice";
import { $L } from "../../../utils/helperMethods";
import CategoryNav from "../../OnSalePanel/CategoryNav/CategoryNav";
import css from "./SubCategory.module.less";
const Container = SpotlightContainerDecorator(
{
leaveFor: { left: "", right: "" },
enterTo: "last-focused",
},
"section"
"div"
);
const SpottableComponent = Spottable("li");