[PlayerPanel] tabCotents loading component change

This commit is contained in:
고동영
2024-05-28 16:03:25 +09:00
parent 9b99ed927b
commit 85b80aa36f
7 changed files with 20 additions and 61 deletions

View File

@@ -7,14 +7,15 @@ import Spotlight from "@enact/spotlight";
import { updatePanel } from "../../../../actions/panelActions";
import TVirtualGridList from "../../../../components/TVirtualGridList/TVirtualGridList";
import { panel_names } from "../../../../utils/Config";
import ListEmptyContents from "../../../ImagePanel/ImageSideContents/ListEmptyContents/ListEmptyContents";
import PlayerItemCard, { TYPES } from "../../PlayerItemCard/PlayerItemCard";
import css from "./LiveChannelContents.module.less";
import PlayerTabLoading from "./PlayerTabLoading";
export default function LiveChannelContents({
liveInfos,
selectedIndex,
setSelectedIndex,
tabIndex,
}) {
const dispatch = useDispatch();
@@ -78,7 +79,7 @@ export default function LiveChannelContents({
noScrollByWheel={false}
/>
) : (
<PlayerTabLoading textType={$L("Show")} />
<ListEmptyContents tabIndex={tabIndex} />
)}
</div>
</>