import { useEffect } from 'react' import { HeaderPanel } from '@/components/HeaderPanel' import { ForcePanel } from '@/components/ForcePanel' import { WarMap } from '@/components/WarMap' import { CombatLossesPanel } from '@/components/CombatLossesPanel' import { PowerChart } from '@/components/PowerChart' import { InvestmentTrendChart } from '@/components/InvestmentTrendChart' import { RetaliationGauge } from '@/components/RetaliationGauge' import { useSituationStore } from '@/store/situationStore' import { startWebSocketMock, stopWebSocketMock } from '@/store/situationStore' export function Dashboard() { const situation = useSituationStore((s) => s.situation) useEffect(() => { startWebSocketMock() return () => stopWebSocketMock() }, []) return (