fix: replace .defaultGoal with DailyGoal() to avoid macro expansion issue
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import Foundation
|
||||
@MainActor @Observable
|
||||
final class HomeViewModel {
|
||||
var todayEntries: [FoodEntry] = []
|
||||
var goal: DailyGoal = .defaultGoal
|
||||
var goal: DailyGoal = DailyGoal()
|
||||
var isLoading = true
|
||||
var errorMessage: String?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user