Update components/chat-panel.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
十八亩地
2026-01-29 13:22:41 +08:00
committed by dayuan.jiang
parent 2d17963b2a
commit 71a1d02e28

View File

@@ -905,7 +905,7 @@ export default function ChatPanel({
router.replace(pathname, { scroll: false }) router.replace(pathname, { scroll: false })
} }
}, },
[sessionManager, syncUIWithSession, router], [sessionManager, syncUIWithSession, router, pathname],
) )
const handleNewChat = useCallback(async () => { const handleNewChat = useCallback(async () => {