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,