mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 14:22:13 +08:00
fix: remove tooltip
This commit is contained in:
@@ -33,8 +33,6 @@ import { useI18n } from "@/core/i18n/hooks";
|
||||
import { checkCodeFile, getFileName } from "@/core/utils/files";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { Tooltip } from "../tooltip";
|
||||
|
||||
import { useArtifacts } from "./context";
|
||||
|
||||
export function ArtifactFileDetail({
|
||||
@@ -119,16 +117,12 @@ export function ArtifactFileDetail({
|
||||
setViewMode(value as "code" | "preview")
|
||||
}
|
||||
>
|
||||
<Tooltip content={t.common.code}>
|
||||
<ToggleGroupItem value="code">
|
||||
<Code2Icon />
|
||||
</ToggleGroupItem>
|
||||
</Tooltip>
|
||||
<Tooltip content={t.common.preview}>
|
||||
<ToggleGroupItem value="preview">
|
||||
<EyeIcon />
|
||||
</ToggleGroupItem>
|
||||
</Tooltip>
|
||||
<ToggleGroupItem value="code">
|
||||
<Code2Icon />
|
||||
</ToggleGroupItem>
|
||||
<ToggleGroupItem value="preview">
|
||||
<EyeIcon />
|
||||
</ToggleGroupItem>
|
||||
</ToggleGroup>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user