This commit is contained in:
parent
19f0d27fcf
commit
3727af3d1c
|
|
@ -45,7 +45,7 @@ export const ChatItem: FC<ChatItemProps> = ({ chat }) => {
|
|||
|
||||
const handleClick = () => {
|
||||
if (!selectedWorkspace) return
|
||||
return router.push(`/${localePrefix}/${selectedWorkspace.id}/chat/${chat.id}`)
|
||||
return router.push(`${localePrefix}/${selectedWorkspace.id}/chat/${chat.id}`)
|
||||
}
|
||||
|
||||
const handleKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue