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 { toast } from "sonner"
import { SidebarDeleteItem } from "./sidebar-delete-item" import { SidebarDeleteItem } from "./sidebar-delete-item"
import { useTranslation } from 'react-i18next'
interface SidebarUpdateItemProps { interface SidebarUpdateItemProps {
isTyping: boolean isTyping: boolean
item: DataItemType item: DataItemType
@ -102,6 +104,8 @@ export const SidebarUpdateItem: FC<SidebarUpdateItemProps> = ({
updateState, updateState,
isTyping isTyping
}) => { }) => {
const { t } = useTranslation()
const { const {
workspaces, workspaces,
selectedWorkspace, selectedWorkspace,