[HomePanel] SubCategory 부분 불필요한 코드 삭제
This commit is contained in:
@@ -1,31 +1,27 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import { $L } from "../../../utils/helperMethods";
|
|
||||||
|
import { useDispatch, useSelector } from "react-redux";
|
||||||
|
|
||||||
import { Job } from "@enact/core/util";
|
import { Job } from "@enact/core/util";
|
||||||
import Spotlight from "@enact/spotlight";
|
import Spotlight from "@enact/spotlight";
|
||||||
|
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator";
|
||||||
import Spottable from "@enact/spotlight/Spottable";
|
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 TGrid from "../../../components/TGrid/TGrid";
|
||||||
import TItemCard from "../../../components/TItemCard/TItemCard";
|
import TItemCard from "../../../components/TItemCard/TItemCard";
|
||||||
import TScroller from "../../../components/TScroller/TScroller";
|
import TScroller from "../../../components/TScroller/TScroller";
|
||||||
|
|
||||||
import { getSubCategory } from "../../../features/main/mainSlice";
|
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(
|
const Container = SpotlightContainerDecorator(
|
||||||
{
|
{
|
||||||
leaveFor: { left: "", right: "" },
|
leaveFor: { left: "", right: "" },
|
||||||
enterTo: "last-focused",
|
enterTo: "last-focused",
|
||||||
},
|
},
|
||||||
"section"
|
"div"
|
||||||
);
|
);
|
||||||
|
|
||||||
const SpottableComponent = Spottable("li");
|
const SpottableComponent = Spottable("li");
|
||||||
|
|||||||
Reference in New Issue
Block a user