update: replace Icon with lucide-react

This commit is contained in:
tao.chen
2026-08-25 09:59:59 +08:00
parent fbb4cc0f1b
commit 97c8fe212b
7 changed files with 58 additions and 39 deletions
@@ -5,7 +5,7 @@ import {
} from "../../services/api";
import { useApi } from "../../context/AuthContext";
import Icon from "../../components/common/Icon";
import { RefreshCw, X } from "lucide-react";
import { useSchedulesStore } from "./state/schedulesStore";
import {
formatDuration,
@@ -231,7 +231,7 @@ export function RunHistory({
disabled={disabled || loading}
onClick={onRefresh}
>
<Icon name="refresh" size={13} />
<RefreshCw size={13} />
</button>
</header>
<div className="flex min-h-0 flex-1 flex-col gap-[7px] overflow-auto p-[9px]">
@@ -316,7 +316,7 @@ export function RunHistory({
aria-label="关闭运行结果"
onClick={() => toggleRun(run.run_id)}
>
<Icon name="close" size={16} />
<X size={16} />
</button>
</header>
<div className="min-h-0 overflow-auto bg-[#f8fbfe] p-[18px]">