Skip to content

Commit f0f2acf

Browse files
fix typo
1 parent 22f7082 commit f0f2acf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/src/hooks/useChartLegendRegistration.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { useEffect } from 'react';
22
import { useChartLegend } from '@scality/core-ui/dist/components/chartlegend/ChartLegendWrapper';
33
import { Serie } from '@scality/core-ui/dist/components/linetimeseriechart/linetimeseriechart.component';
44

5-
interface SymmetricalSeries {
5+
type SymmetricalSeries = {
66
above: Serie[];
77
below: Serie[];
8-
}
9-
type ChartLegendRegistation = {
8+
};
9+
type ChartLegendRegistration = {
1010
chartId: string;
1111
additionalNames?: string[];
1212
} & (
@@ -25,7 +25,7 @@ export const useChartLegendRegistration = ({
2525
series,
2626
isSymmetrical,
2727
additionalNames,
28-
}: ChartLegendRegistation) => {
28+
}: ChartLegendRegistration) => {
2929
const { register } = useChartLegend();
3030

3131
useEffect(() => {

0 commit comments

Comments
 (0)