mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-18 11:29:22 +08:00
fix: 移除调试日志输出
This commit is contained in:
@@ -99,7 +99,6 @@ const PingChart = memo(({ node, hours }: PingChartProps) => {
|
||||
}
|
||||
|
||||
let full = Object.values(grouped).sort((a: any, b: any) => a.time - b.time);
|
||||
console.log("Full :", full);
|
||||
|
||||
if (hours !== 0) {
|
||||
const task = pingHistory.tasks;
|
||||
@@ -228,8 +227,6 @@ const PingChart = memo(({ node, hours }: PingChartProps) => {
|
||||
});
|
||||
}, [pingHistory?.records, sortedTasks, timeRange]);
|
||||
|
||||
console.log("chartData:", chartData);
|
||||
|
||||
return (
|
||||
<div className="relative space-y-4">
|
||||
{loading && (
|
||||
@@ -456,7 +453,6 @@ const PingChart = memo(({ node, hours }: PingChartProps) => {
|
||||
height={30}
|
||||
stroke="var(--theme-text-muted-color)"
|
||||
fill="var(--accent-a4)"
|
||||
alwaysShowText
|
||||
tickFormatter={(time) => {
|
||||
const date = new Date(time);
|
||||
if (hours === 0) {
|
||||
|
Reference in New Issue
Block a user