diff --git a/components/chat.tsx b/components/chat.tsx index a4c60cc..8aaf8ec 100644 --- a/components/chat.tsx +++ b/components/chat.tsx @@ -52,7 +52,7 @@ export function Chat({ id, initialMessages, className }: ChatProps) { }, onFinish() { if (!path.includes('chat')) { - router.push(`/chat/${id}`, { shallow: true }) + router.push(`/chat/${id}`, { shallow: true, scroll: false }) router.refresh() } }