Add comment

This commit is contained in:
Joshen Lim committed 2025-10-21 14:13:01 +08:00
1 parent 5052e25f3e
commit 840a022d2d
1 file changed
+3
@@ -10,6 +10,9 @@ interface UseDiffEditorLifecycleParams {
onDiffCleared?: () => void
}
// This one's meant to solve a UI issue that seems to only be happening locally
// Happens when you use the inline assistant in the SQL Editor and accept the suggestion
// Error: TextModel got disposed before DiffEditorWidget model got reset
export const useDiffEditorLifecycle = ({
editorRef,
diffEditorRef,