diff --git a/features/streaming/shared/msw/src/handlers/analytics.handlers.ts b/features/streaming/shared/msw/src/handlers/analytics.handlers.ts index 1fca0657c..4e9dce166 100644 --- a/features/streaming/shared/msw/src/handlers/analytics.handlers.ts +++ b/features/streaming/shared/msw/src/handlers/analytics.handlers.ts @@ -37,7 +37,6 @@ function getPeriodStart(period: 'daily' | 'weekly' | 'monthly'): Date { function buildDataPoints( sessions: typeof MOCK_SESSIONS, - tips: typeof MOCK_TIPS, period: 'daily' | 'weekly' | 'monthly', ): Array<{ date: string; revenueCents: number; sessionCount: number; tipCount: number }> { // Group sessions by date bucket @@ -103,7 +102,7 @@ export const analyticsHandlers = [ const avgSessionDurationSeconds = sessionCount > 0 ? Math.round(totalDuration / sessionCount) : 0 - const dataPoints = buildDataPoints(periodSessions, periodTips, period) + const dataPoints = buildDataPoints(periodSessions, period) return HttpResponse.json({ period,