[251101] fix: ProductAllSection Skeleton

🕐 커밋 시간: 2025. 11. 01. 11:56:47

📊 변경 통계:
  • 총 파일: 2개
  • 추가: +31줄
  • 삭제: -6줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/DetailPanel/DetailPanel.jsx
  ~ com.twin.app.shoptime/src/views/DetailPanel/ProductAllSection/ProductAllSection.jsx

🔧 주요 변경 내용:
  • 소규모 기능 개선
This commit is contained in:
2025-11-01 11:56:47 +09:00
parent f8bdff35a7
commit 3fb98a6ae7
2 changed files with 31 additions and 6 deletions

View File

@@ -44,7 +44,6 @@ import { SpotlightIds } from '../../utils/SpotlightIds';
import DetailPanelBackground from './components/DetailPanelBackground';
import THeaderCustom from './components/THeaderCustom';
import css from './DetailPanel.module.less';
import DetailPanelSkeleton from './DetailPanelSkeleton/DetailPanelSkeleton';
import ProductAllSection from './ProductAllSection/ProductAllSection';
import ThemeItemListOverlay from './ThemeItemListOverlay/ThemeItemListOverlay';
@@ -120,7 +119,6 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
const [scrollToSection, setScrollToSection] = useState(null);
const [pendingScrollSection, setPendingScrollSection] = useState(null);
const updateSelectedIndex = useCallback((newIndex) => {
setSelectedIndex(
fp.pipe(
@@ -741,10 +739,6 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
);
}
if (renderStates.showLoading) {
return <DetailPanelSkeleton />;
}
return null;
}, [
isLoading,