debug: Add console logging to trace start_date loading
This commit is contained in:
1 parent
3604ebc781
commit
ab29a85903
1 file changed
+3
@@ -188,6 +188,9 @@ export default function GoalsPage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleEditGoal = (goal) => {
|
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)
|
setEditingGoal(goal.id)
|
||||||
setFormData({
|
setFormData({
|
||||||
goal_type: goal.goal_type,
|
goal_type: goal.goal_type,
|
||||||
|
|||||||
Reference in new issue
Block a user