mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-14 04:37:32 +00:00
refactor(chat): exclude currentSessionId from dependency array to prevent unnecessary reloading of messages
This commit is contained in:
@@ -399,7 +399,7 @@ export function useChatSessionState({
|
||||
|
||||
loadMessages();
|
||||
}, [
|
||||
currentSessionId,
|
||||
// Intentionally exclude currentSessionId: this effect sets it and should not retrigger another full load.
|
||||
isSystemSessionChange,
|
||||
loadCursorSessionMessages,
|
||||
loadSessionMessages,
|
||||
|
||||
Reference in New Issue
Block a user