From a63d9afd66e431f1d6489390717e52eda5e3a4a3 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 22 Apr 2025 19:56:37 +0800 Subject: [PATCH] . --- components/chat/chat-hooks/use-chat-handler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chat/chat-hooks/use-chat-handler.tsx b/components/chat/chat-hooks/use-chat-handler.tsx index 17932dc..04db3fa 100644 --- a/components/chat/chat-hooks/use-chat-handler.tsx +++ b/components/chat/chat-hooks/use-chat-handler.tsx @@ -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`)