From d0d97a2e9845b50c4a41747c2fe6c26b7ae370fe Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Tue, 9 Dec 2025 22:02:22 +0530 Subject: [PATCH] fix: lint errors --- apps/web/ce/hooks/use-timeline-chart.ts | 4 ++-- apps/web/core/hooks/use-realtime-page-events.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/ce/hooks/use-timeline-chart.ts b/apps/web/ce/hooks/use-timeline-chart.ts index b935a74034..afd329d760 100644 --- a/apps/web/ce/hooks/use-timeline-chart.ts +++ b/apps/web/ce/hooks/use-timeline-chart.ts @@ -17,10 +17,10 @@ export const getTimelineStore = ( return timelineStore.modulesTimeLineStore as IBaseTimelineStore; } if (timelineType === GANTT_TIMELINE_TYPE.PROJECT) { - return timelineStore.projectTimeLineStore; + return timelineStore.projectTimeLineStore as IBaseTimelineStore; } if (timelineType === GANTT_TIMELINE_TYPE.GROUPED) { - return timelineStore.groupedTimeLineStore; + return timelineStore.groupedTimeLineStore as IBaseTimelineStore; } throw new Error(`Unknown timeline type: ${timelineType}`); }; diff --git a/apps/web/core/hooks/use-realtime-page-events.tsx b/apps/web/core/hooks/use-realtime-page-events.tsx index 0b3a8e9d5d..e5d7b5b5aa 100644 --- a/apps/web/core/hooks/use-realtime-page-events.tsx +++ b/apps/web/core/hooks/use-realtime-page-events.tsx @@ -396,4 +396,4 @@ export const useRealtimePageEvents = ({ ); return { updatePageProperties }; -}; \ No newline at end of file +};