mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-02 01:20:23 +08:00
Update components/chat-panel.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user