[HomePanel] 로직 변경

This commit is contained in:
sungmin.in
2024-02-06 21:52:20 +09:00
parent 8111f298be
commit cc9201eb17
7 changed files with 3 additions and 14 deletions

View File

@@ -10,7 +10,6 @@ import {
useSelector,
} from 'react-redux';
import { Job } from '@enact/core/util';
import Marquee from '@enact/sandstone/Marquee';
import Spotlight from '@enact/spotlight';
import {

View File

@@ -10,7 +10,6 @@ import {
useSelector,
} from 'react-redux';
import { Job } from '@enact/core/util';
import Marquee from '@enact/sandstone/Marquee';
import Spotlight from '@enact/spotlight';
import {

View File

@@ -10,7 +10,6 @@ import {
useSelector,
} from 'react-redux';
import { Job } from '@enact/core/util';
import Marquee from '@enact/sandstone/Marquee';
import Spotlight from '@enact/spotlight';
import {

View File

@@ -16,7 +16,7 @@ export default function RandomUnit({ bannerData, imageType }) {
setRandomData(bannerDetailInfos[num]);
}
}, [bannerData]);
// 추후 변경
return (
<>
{randomData.shptmBanrTpNm == "Image Banner" ? (

View File

@@ -1,13 +1,9 @@
import React, {
memo,
useCallback,
useEffect,
useRef,
useState,
} from 'react';
import VideoPlay from '@enact/sandstone/VideoPlayer';
import VideoPlayer from '@enact/sandstone/VideoPlayer';
import { VirtualGridList } from '@enact/sandstone/VirtualList';
import ri from '@enact/ui/resolution';

View File

@@ -39,7 +39,7 @@ export default function HomePanel() {
);
const [select, setSelect] = useState(null);
const [homeLayoutInfoDetail, setHomeLayoutInfoDetail] = useState([]);
// 추후 스위치 select 로 변경 : 스팟라이트 테스트 중
// 추후 변경
const selectSwitch = (index) => {
switch ("DSP00203") {
case "DSP00201":

View File

@@ -1,8 +1,4 @@
import React, {
useCallback,
useEffect,
useState,
} from 'react';
import React, { useCallback } from 'react';
import classNames from 'classnames';