diff --git a/apps/studio/components/interfaces/SQLEditor/useDiffEditorLifecycle.ts b/apps/studio/components/interfaces/SQLEditor/useDiffEditorLifecycle.ts index d5d9f67f0ec..177b92f78ed 100644 --- a/apps/studio/components/interfaces/SQLEditor/useDiffEditorLifecycle.ts +++ b/apps/studio/components/interfaces/SQLEditor/useDiffEditorLifecycle.ts @@ -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,