From ab29a8590364b384b21b7d5c23ee07a79cc6a799 Mon Sep 17 00:00:00 2001 From: Lars Date: Sat, 28 Mar 2026 13:55:29 +0100 Subject: [PATCH] debug: Add console logging to trace start_date loading --- frontend/src/pages/GoalsPage.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/pages/GoalsPage.jsx b/frontend/src/pages/GoalsPage.jsx index c26fc51..08d9df4 100644 --- a/frontend/src/pages/GoalsPage.jsx +++ b/frontend/src/pages/GoalsPage.jsx @@ -188,6 +188,9 @@ export default function GoalsPage() { } const handleEditGoal = (goal) => { + console.log('[DEBUG] Editing goal:', goal) + console.log('[DEBUG] start_date from goal:', goal.start_date, 'type:', typeof goal.start_date) + setEditingGoal(goal.id) setFormData({ goal_type: goal.goal_type,