Update dependencies
This commit is contained in:
parent
c368a0967c
commit
c35fae4489
4 changed files with 860 additions and 707 deletions
|
|
@ -52,8 +52,7 @@ export function Chat({ id, initialMessages, className }: ChatProps) {
|
|||
},
|
||||
onFinish() {
|
||||
if (!path.includes('chat')) {
|
||||
router.push(`/chat/${id}`, { shallow: true, scroll: false })
|
||||
router.refresh()
|
||||
window.history.pushState({}, '', `/chat/${id}`)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue