From 7fc33a791c16a4bd3c8bb00ffc9d61b3eff0ea30 Mon Sep 17 00:00:00 2001 From: Mannu Date: Sun, 17 May 2026 15:29:13 +0530 Subject: [PATCH] fix(growth): add form conditional on latest like goals Co-Authored-By: Claude Sonnet 4.6 --- src/app/growth/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/growth/page.tsx b/src/app/growth/page.tsx index 998ef18..1e6df3b 100644 --- a/src/app/growth/page.tsx +++ b/src/app/growth/page.tsx @@ -614,8 +614,8 @@ export default function GrowthPage() { )} - {/* Empty State */} - {showAdd && ( + {/* Add Measurement - Same pattern as Goals */} + {showAdd && latest && (

{editingId ? "Edit Record" : "Add New Measurement"}

{saveError && (