'use client' import { useParams } from 'next/navigation' import { useCRA } from './_hooks/useCRA' import { CRACyberView } from './_components/CRACyberView' import { WeightsControl } from './_components/WeightsControl' import { SnapshotPanel } from './_components/SnapshotPanel' export default function CRAPage() { const params = useParams() const projectId = params?.projectId as string | undefined const { data, live, weights, setWeights, snapshots, saveSnapshot, viewSnapshot } = useCRA(projectId) if (!data) { return
CRA-Risikobeurteilung wird geladen …
} return (Backend nicht erreichbar — statisches Szenario angezeigt.
)}