diff --git a/ui/packages/shared/profile/src/MetricsGraphStrips/AreaGraph/index.tsx b/ui/packages/shared/profile/src/MetricsGraphStrips/AreaGraph/index.tsx index b813c031656..aa16dbcb98b 100644 --- a/ui/packages/shared/profile/src/MetricsGraphStrips/AreaGraph/index.tsx +++ b/ui/packages/shared/profile/src/MetricsGraphStrips/AreaGraph/index.tsx @@ -43,7 +43,7 @@ const DraggingWindow = ({ }: { dragStart: number | undefined; currentX: number | undefined; - }): JSX.Element | null => { +}): JSX.Element | null => { const start = useMemo(() => Math.min(dragStart ?? 0, currentX ?? 0), [dragStart, currentX]); const width = useMemo(() => Math.abs((dragStart ?? 0) - (currentX ?? 0)), [dragStart, currentX]); @@ -71,7 +71,7 @@ const ZoomWindow = ({ width: number; onZoomWindowChange: (newWindow: NumberDuo) => void; setIsHoveringDragHandle: (arg: boolean) => void; - }): JSX.Element | null => { +}): JSX.Element | null => { const windowStartHandleRef = useRef(null); const windowEndHandleRef = useRef(null); const [zoomWindowState, setZoomWindowState] = useState(zoomWindow); diff --git a/ui/packages/shared/profile/src/MetricsGraphStrips/TimelineGuide/index.tsx b/ui/packages/shared/profile/src/MetricsGraphStrips/TimelineGuide/index.tsx index f4d51d815a0..11057d55346 100644 --- a/ui/packages/shared/profile/src/MetricsGraphStrips/TimelineGuide/index.tsx +++ b/ui/packages/shared/profile/src/MetricsGraphStrips/TimelineGuide/index.tsx @@ -35,7 +35,7 @@ const alignBeforeAxisCorrection = (val: number): number => { return 0; }; -export const TimelineGuide = ({ data, width, height, margin }: Props): JSX.Element => { +export const TimelineGuide = ({data, width, height, margin}: Props): JSX.Element => { const bounds = useMemo(() => { const bounds: NumberDuo = [Infinity, -Infinity]; data.forEach(cpuData => {