This commit is contained in:
hailin 2025-04-19 17:25:52 +08:00
parent 9faf912c8b
commit 475b67ee02
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,8 @@ import profile from "react-syntax-highlighter/dist/esm/languages/hljs/profile"
import { toast } from "sonner"
import { SidebarDeleteItem } from "./sidebar-delete-item"
import { useTranslation } from 'react-i18next'
interface SidebarUpdateItemProps {
isTyping: boolean
item: DataItemType
@ -102,6 +104,8 @@ export const SidebarUpdateItem: FC<SidebarUpdateItemProps> = ({
updateState,
isTyping
}) => {
const { t } = useTranslation()
const {
workspaces,
selectedWorkspace,