mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 11:18:22 +00:00
fix: remove tooltip
This commit is contained in:
parent
03b380cb8b
commit
3ac6e58d4f
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user