fix: ensure tooltip formatter returns string
This commit is contained in:
parent
fa96768fa9
commit
d8515d08e1
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ function QueueSparklineCard({
|
||||||
<ChartTooltipContent
|
<ChartTooltipContent
|
||||||
labelFormatter={(value) => formatDateDMY(new Date(value as string))}
|
labelFormatter={(value) => formatDateDMY(new Date(value as string))}
|
||||||
valueFormatter={(value) =>
|
valueFormatter={(value) =>
|
||||||
typeof value === "number" ? value.toLocaleString("pt-BR") : value
|
typeof value === "number" ? value.toLocaleString("pt-BR") : String(value ?? "")
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue