mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
docs(workouts): correct the seam comments now that the card can mount
This commit is contained in:
1 parent
e44cf8b804
commit
6e1945e8a0
1 file changed
+5
-3
@@ -91,9 +91,11 @@ export default function InsightsWorkoutDetailPage({
|
||||
) : (
|
||||
<>
|
||||
<WorkoutDetailHeader workout={data} />
|
||||
{/* Reserved Activity-Insight seam — `aiInsight` is always null
|
||||
today, so this renders nothing. When the Phase-2 job
|
||||
populates it, the card mounts here with zero layout rework. */}
|
||||
{/* The Activity Insight, above the stats it describes. `null` is the
|
||||
common case and renders nothing — the paragraph is written by a
|
||||
background job when the workout lands, so a historical or
|
||||
re-synced workout has none and opening this page never asks for
|
||||
one. */}
|
||||
{data.aiInsight ? (
|
||||
<WorkoutInsightCard insight={data.aiInsight} />
|
||||
) : null}
|
||||
|
||||
Reference in new issue
Block a user