fix: 한국/중국 선박 현황 패널 기본 접힘 처리

This commit is contained in:
Nan Kyung Lee 2026-03-20 07:27:47 +09:00
부모 7174dfd629
커밋 8b69bea667

파일 보기

@ -348,7 +348,7 @@ function useTimeAgo() {
export function EventLog({ events, currentTime, totalShipCount: _totalShipCount, koreanShips, koreanShipsByCategory: _koreanShipsByCategory, chineseShips = [], osintFeed = EMPTY_OSINT, isLive = false, dashboardTab = 'iran', onTabChange: _onTabChange, ships = EMPTY_SHIPS, highlightKoreanShips = false, onToggleHighlightKorean, onShipHover, onShipClick }: Props) {
const { t } = useTranslation(['common', 'events', 'ships']);
const timeAgo = useTimeAgo();
const [collapsed, setCollapsed] = useState<Set<string>>(new Set());
const [collapsed, setCollapsed] = useState<Set<string>>(new Set(['kr-ships', 'cn-ships']));
const toggleCollapse = useCallback((key: string) => {
setCollapsed(prev => {
const next = new Set(prev);