debug: Add console logging to trace start_date loading
This commit is contained in:
parent
3604ebc781
commit
ab29a85903
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user