Skip to content

Commit 54b03c1

Browse files
committed
change updateFunction to updateFunctionNumeric on canvas
1 parent e4ef673 commit 54b03c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • ethernet-view/src/components/ChartMenu/ChartElement/ChartCanvas

ethernet-view/src/components/ChartMenu/ChartElement/ChartCanvas/ChartCanvas.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
MeasurementId,
33
NumericMeasurementInfo,
4-
UpdateFunction,
4+
UpdateFunctionNumeric,
55
useGlobalTicker,
66
} from 'common';
77
import {
@@ -15,7 +15,7 @@ import { useEffect, useRef } from 'react';
1515

1616
type DataSerieAndUpdater = Map<
1717
MeasurementId,
18-
[ISeriesApi<'Line'>, UpdateFunction]
18+
[ISeriesApi<'Line'>, UpdateFunctionNumeric]
1919
>;
2020

2121
interface Props {

0 commit comments

Comments
 (0)