30 seconds

This commit is contained in:
Philipinho
2026-03-12 02:27:09 +00:00
parent 131511a94e
commit c36833ad5b
2 changed files with 2 additions and 2 deletions
@@ -112,7 +112,7 @@ export default function DrawioView(props: NodeViewProps) {
if (isDirtyRef.current && !isSavingRef.current && drawioRef.current) {
drawioRef.current.exportDiagram({ format: "xmlsvg" });
}
}, 60_000);
}, 30_000);
return () => clearInterval(interval);
}, [opened]);
@@ -162,7 +162,7 @@ export default function ExcalidrawView(props: NodeViewProps) {
if (isDirtyRef.current && !isSavingRef.current) {
saveData(false).catch(() => {});
}
}, 60_000);
}, 30_000);
return () => clearInterval(interval);
}, [opened, saveData]);