fix(growth): add form conditional on latest like goals
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
52a46de86b
commit
7fc33a791c
1 changed files with 2 additions and 2 deletions
|
|
@ -614,8 +614,8 @@ export default function GrowthPage() {
|
|||
</div>
|
||||
)}
|
||||
|
||||
{/* Empty State */}
|
||||
{showAdd && (
|
||||
{/* Add Measurement - Same pattern as Goals */}
|
||||
{showAdd && latest && (
|
||||
<div className="mx-4 mb-4 p-4 bg-white dark:bg-gray-800 rounded-xl space-y-3">
|
||||
<h3 className="font-semibold">{editingId ? "Edit Record" : "Add New Measurement"}</h3>
|
||||
{saveError && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue