This commit is contained in:
hailin 2025-04-21 10:31:25 +08:00
parent 5f74df0bbc
commit 413493200a
1 changed files with 3 additions and 0 deletions

View File

@ -21,12 +21,15 @@ import { LLMID } from "@/types"
import { useParams, useRouter, useSearchParams } from "next/navigation"
import { ReactNode, useContext, useEffect, useState } from "react"
import Loading from "../loading"
import { useTranslation } from 'react-i18next'
interface WorkspaceLayoutProps {
children: ReactNode
}
export default function WorkspaceLayout({ children }: WorkspaceLayoutProps) {
const { t } = useTranslation()
const router = useRouter()
const pathname = usePathname() // 获取当前路径