[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-04 03:29:02 +00:00
committed by GitHub
parent 28845c145e
commit 1730f427df
6 changed files with 10 additions and 25 deletions
@@ -61,9 +61,7 @@ export const DockerCpuChart = ({ accumulativeData }: Props) => {
<ChartTooltipContent
labelFormatter={(_, payload) => {
const time = payload?.[0]?.payload?.time;
return time
? format(new Date(time), "PPpp")
: "";
return time ? format(new Date(time), "PPpp") : "";
}}
formatter={(value) => [`${value}%`, "CPU Usage"]}
/>