This commit is contained in:
hailin 2025-04-22 19:56:37 +08:00
parent 842698ada9
commit a63d9afd66
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ export const useChatHandler = () => {
if (locales.includes(segment)) {
locale = segment
}
const homePath = locale === defaultLocale ? "/" : `/${locale}`
const homePath = locale === defaultLocale ? "/" : `${locale}`
console.log("[use-chat-handler.tsx]...........homePath",homePath)
return router.push(`/${homePath}/${selectedWorkspace.id}/chat`)