update: replace Icon with lucide-react
This commit is contained in:
@@ -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]">
|
||||
|
||||
Reference in New Issue
Block a user