Update dependencies

This commit is contained in:
Lee Robinson 2024-01-04 08:32:32 -06:00
parent c368a0967c
commit c35fae4489
4 changed files with 860 additions and 707 deletions

View file

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