fix: lint errors

This commit is contained in:
Prateek Shourya
2025-12-09 22:02:22 +05:30
parent ed57db47d0
commit d0d97a2e98
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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}`);
};
@@ -396,4 +396,4 @@ export const useRealtimePageEvents = ({
);
return { updatePageProperties };
};
};