File tree Expand file tree Collapse file tree
src/frontend/src/pages/GanttPage/GanttChart Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ interface GanttChartSectionProps<T> {
2929 highlightSubtaskComparator : HighlightTaskComparator < T > ;
3030}
3131
32- // Isolated tooltip component — only this re-renders on hover, not the task bars
3332interface GanttTooltipLayerProps {
3433 updateRef : React . MutableRefObject < ( options : OnMouseOverOptions | undefined , y ?: number ) => void > ;
3534}
@@ -71,7 +70,6 @@ const GanttChartSection = <T,>({
7170} : GanttChartSectionProps < T > ) => {
7271 const days = eachDayOfInterval ( { start, end } ) . filter ( ( day ) => isMonday ( day ) ) ;
7372
74- // Stable ref to tooltip updater — avoids re-rendering task bars on hover
7573 const updateTooltip = useRef < ( options : OnMouseOverOptions | undefined , y ?: number ) => void > ( ( ) => { } ) ;
7674
7775 const handleOnMouseOver = useCallback (
You can’t perform that action at this time.
0 commit comments