Fix type errors in Analytics and Budget fetch params
Some checks failed
Deploy to VPS / deploy (push) Failing after 38s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Carlos Escalante
2026-06-09 19:13:32 -06:00
parent 4a758b29a7
commit 3e56f1ca66
2 changed files with 4 additions and 4 deletions

View File

@@ -82,9 +82,9 @@ export default function Analytics() {
}
Promise.all([
api.get('/analytics/by-category', { params }),
api.get('/analytics/monthly-trend'),
api.get('/analytics/daily-spending', { params }),
api.get<CategorySpending[]>('/analytics/by-category', { params }),
api.get<MonthlyTrend[]>('/analytics/monthly-trend'),
api.get<DailySpending[]>('/analytics/daily-spending', { params }),
])
.then(([catRes, trendRes, dailyRes]) => {
setByCategory(catRes.data);