updata:icon替换
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import Editor from "@monaco-editor/react";
|
||||
|
||||
import Icon from "../../components/common/Icon";
|
||||
import { Info } from "lucide-react";
|
||||
|
||||
import type { ScriptItem } from "../../services/api";
|
||||
|
||||
@@ -92,7 +91,7 @@ export function PythonEditor({
|
||||
aria-live="polite"
|
||||
>
|
||||
<div className="mb-4 grid size-[54px] place-items-center rounded-full bg-[#fff1f0] text-[#c84f49]">
|
||||
<Icon name="info" size={28} />
|
||||
<Info size={28} />
|
||||
</div>
|
||||
<strong className="text-base text-[#1d344d]">Python 编辑器打开失败</strong>
|
||||
<p className="mt-[9px] max-w-[430px] text-xs leading-[1.7] text-[#7a8a9b] [overflow-wrap:anywhere]">
|
||||
|
||||
Reference in New Issue
Block a user