mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 21:05:06 +03:00
Add comment
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user