[tabitemsub]
- 서브 카테고리 들어가면 icon이 이상하게 노출되는부분 관련하여 확인해보니 IconComponent가 돌아가고있음. 이부분 체크를 위해서 우선 주석처리.
This commit is contained in:
@@ -1,16 +1,27 @@
|
|||||||
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
import React, {
|
||||||
|
useCallback,
|
||||||
|
useEffect,
|
||||||
|
useRef,
|
||||||
|
useState,
|
||||||
|
} from 'react';
|
||||||
|
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import compose from 'ramda/src/compose';
|
import compose from 'ramda/src/compose';
|
||||||
|
import { useDispatch } from 'react-redux';
|
||||||
|
|
||||||
import { Job } from '@enact/core/util';
|
import { Job } from '@enact/core/util';
|
||||||
import { Marquee, MarqueeController } from '@enact/sandstone/Marquee';
|
import {
|
||||||
|
Marquee,
|
||||||
|
MarqueeController,
|
||||||
|
} from '@enact/sandstone/Marquee';
|
||||||
import Spottable from '@enact/spotlight/Spottable';
|
import Spottable from '@enact/spotlight/Spottable';
|
||||||
|
|
||||||
import css from './TabItemSub.module.less';
|
|
||||||
import { sendLogTotalRecommend } from '../../actions/logActions';
|
import { sendLogTotalRecommend } from '../../actions/logActions';
|
||||||
import { LOG_CONTEXT_NAME, LOG_MESSAGE_ID } from '../../utils/Config';
|
import {
|
||||||
import { useDispatch } from 'react-redux';
|
LOG_CONTEXT_NAME,
|
||||||
|
LOG_MESSAGE_ID,
|
||||||
|
} from '../../utils/Config';
|
||||||
|
import css from './TabItemSub.module.less';
|
||||||
|
|
||||||
const SpottableComponent = Spottable('div');
|
const SpottableComponent = Spottable('div');
|
||||||
|
|
||||||
@@ -122,11 +133,11 @@ const TabItemBase = ({
|
|||||||
<>
|
<>
|
||||||
{subtitle && (
|
{subtitle && (
|
||||||
<div className={css.textWithIcon}>
|
<div className={css.textWithIcon}>
|
||||||
{IconComponent && (
|
{/* {IconComponent && (
|
||||||
<span className={css.iconWrapper}>
|
<span className={css.iconWrapper}>
|
||||||
<IconComponent iconType={focused ? 'focused' : selected ? 'selected' : 'normal'} />
|
<IconComponent iconType={focused ? 'focused' : selected ? 'selected' : 'normal'} />
|
||||||
</span>
|
</span>
|
||||||
)}
|
)} */}
|
||||||
<Marquee
|
<Marquee
|
||||||
marqueeDisabled={!focused}
|
marqueeDisabled={!focused}
|
||||||
marqueeOn={'focus'}
|
marqueeOn={'focus'}
|
||||||
|
|||||||
Reference in New Issue
Block a user