This commit is contained in:
parent
5f74df0bbc
commit
413493200a
|
|
@ -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() // 获取当前路径
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue