diff --git a/frontend/src/components/Dashboard.tsx b/frontend/src/components/Dashboard.tsx index d28f174..0827c38 100644 --- a/frontend/src/components/Dashboard.tsx +++ b/frontend/src/components/Dashboard.tsx @@ -65,6 +65,11 @@ export function Dashboard({ const indicator = meta?.indicator_value ?? null const zone = meta?.persona != null ? PERSONA_ZONE[meta.persona] ?? null : null + // 긴장도 산식의 분모는 (첫 제안가 − 목표가) — 첫 제안이 이미 목표가 이하면 + // 척도가 정의되지 않아 엔진이 계산을 건너뛴다. 이때는 이유를 보여준다. + const tensionUndefined = tension == null && demoCase != null && rounds.length > 0 + && rounds[0].price <= demoCase.target + return (