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`)