fix: replace .defaultGoal with DailyGoal() to avoid macro expansion issue
All checks were successful
Security Checks / dependency-audit (push) Successful in 12s
Security Checks / secret-scanning (push) Successful in 3s
Security Checks / dockerfile-lint (push) Successful in 3s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yusuf Suleman
2026-04-03 02:13:27 -05:00
parent ac8fe3db29
commit e350a354a3
3 changed files with 3 additions and 3 deletions

View File

@@ -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?