This commit is contained in:
parent
842698ada9
commit
a63d9afd66
|
|
@ -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`)
|
||||
|
|
|
|||
Loading…
Reference in New Issue