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 +};