mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-16 00:45:18 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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"]}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user