diff --git a/src/renderer/src/components/shared/DatasetTreeViewRenderer/index.jsx b/src/renderer/src/components/shared/DatasetTreeViewRenderer/index.jsx index dd2040582..89b8ca2b0 100644 --- a/src/renderer/src/components/shared/DatasetTreeViewRenderer/index.jsx +++ b/src/renderer/src/components/shared/DatasetTreeViewRenderer/index.jsx @@ -1,5 +1,5 @@ import { useState } from "react"; -import { Collapse, Text, Stack, UnstyledButton, TextInput } from "@mantine/core"; +import { Collapse, Text, Stack, UnstyledButton, TextInput, Flex } from "@mantine/core"; import { useHover } from "@mantine/hooks"; import { IconFolder, @@ -52,19 +52,15 @@ const getFileTypeIcon = (fileName) => { // FileItem component const FileItem = ({ name, content, onFileClick, getFileBackgroundColor }) => ( -