mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
build(dev-deps, deps): upgrade major versions for FE deps (#29963)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -157,7 +157,7 @@ export default function transformProps(
|
||||
label: {
|
||||
show: showValues,
|
||||
formatter: (params: CallbackDataParams) =>
|
||||
valueFormatter(params.value[2]),
|
||||
valueFormatter(params.value?.[2]),
|
||||
},
|
||||
},
|
||||
];
|
||||
@@ -178,9 +178,9 @@ export default function transformProps(
|
||||
yAxisLabel,
|
||||
metricLabel,
|
||||
);
|
||||
const x = params.value[0];
|
||||
const y = params.value[1];
|
||||
const value = params.value[2];
|
||||
const x = params.value?.[0];
|
||||
const y = params.value?.[1];
|
||||
const value = params.value?.[2];
|
||||
const formattedX = xAxisFormatter(x);
|
||||
const formattedY = yAxisFormatter(y);
|
||||
const formattedValue = valueFormatter(value);
|
||||
|
||||
Reference in New Issue
Block a user