From 5261405379368d0cd1a74d835ec7ff127b280f37 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 2 Feb 2026 08:22:11 +0000 Subject: [PATCH] style: auto-fix linting issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed ESLint issues - Applied Prettier formatting - Fixed Stylelint issues 🤖 Automated fixes by GitHub Actions --- .../timeline/services/timelineService.ts | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/frontend/src/features/timeline/services/timelineService.ts b/frontend/src/features/timeline/services/timelineService.ts index 984a6b4..2526738 100644 --- a/frontend/src/features/timeline/services/timelineService.ts +++ b/frontend/src/features/timeline/services/timelineService.ts @@ -42,10 +42,7 @@ export const timelineService = { * @param maxDataPoints - Optional maximum number of data points to return * @returns Timeline data points */ - getTimelineData: async ( - fileId: string, - maxDataPoints?: number - ): Promise => { + getTimelineData: async (fileId: string, maxDataPoints?: number): Promise => { if (USE_MOCK) { await new Promise(resolve => setTimeout(resolve, 700)); return mockTimelineData; @@ -83,16 +80,13 @@ export const timelineService = { const startISO = new Date(start).toISOString(); const endISO = new Date(end).toISOString(); - const response = await apiClient.get( - `/api/timeline/${fileId}/range`, - { - params: { - start: startISO, - end: endISO, - maxDataPoints, - }, - } - ); + const response = await apiClient.get(`/api/timeline/${fileId}/range`, { + params: { + start: startISO, + end: endISO, + maxDataPoints, + }, + }); // Transform backend response to frontend format return response.data.map(transformTimelineData);