mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-02 01:20:23 +08:00
fix: save session when diagram is modified via autosave
Add chartXML to dependency array of auto-save effect so that user modifications in draw.io (captured via autosave) trigger session save.
This commit is contained in:
@@ -639,6 +639,7 @@ export default function ChatPanel({
|
||||
sessionIsAvailable,
|
||||
currentSessionId,
|
||||
buildSessionData,
|
||||
chartXML,
|
||||
])
|
||||
|
||||
// Update URL when a new session is created (first message sent)
|
||||
|
||||
Reference in New Issue
Block a user