fix: lint errors
This commit is contained in:
@@ -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 };
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user