[HomePanel] 로직 변경
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function RandomUnit({ bannerData, imageType }) {
|
||||
setRandomData(bannerDetailInfos[num]);
|
||||
}
|
||||
}, [bannerData]);
|
||||
|
||||
// 추후 변경
|
||||
return (
|
||||
<>
|
||||
{randomData.shptmBanrTpNm == "Image Banner" ? (
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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":
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
import React, {
|
||||
useCallback,
|
||||
useEffect,
|
||||
useState,
|
||||
} from 'react';
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import classNames from 'classnames';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user