Skip to content

Commit f878ff6

Browse files
type update
1 parent d32872c commit f878ff6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/frontend/src/pages/GanttPage/GanttChart/GanttChartSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
RequestEventChange
1313
} from '../../../utils/gantt.utils';
1414
import { Box, Typography } from '@mui/material';
15-
import { useCallback, useRef, useState } from 'react';
15+
import { RefObject, useCallback, useRef, useState } from 'react';
1616
import GanttTaskBar from './GanttChartComponents/GanttTaskBar/GanttTaskBar';
1717
import GanttToolTip from './GanttChartComponents/GanttToolTip';
1818
import { ArcherContainer } from 'react-archer';
@@ -30,7 +30,7 @@ interface GanttChartSectionProps<T> {
3030
}
3131

3232
interface GanttTooltipLayerProps {
33-
updateRef: React.MutableRefObject<(options: OnMouseOverOptions | undefined, y?: number) => void>;
33+
updateRef: RefObject<(options: OnMouseOverOptions | undefined, y?: number) => void>;
3434
}
3535

3636
const GanttTooltipLayer: React.FC<GanttTooltipLayerProps> = ({ updateRef }) => {

0 commit comments

Comments
 (0)