We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e93d3d commit 343c6b8Copy full SHA for 343c6b8
packages/web-console/src/scenes/Editor/Monaco/index.tsx
@@ -375,7 +375,6 @@ const MonacoEditor = () => {
375
376
const setCompletionProvider = async () => {
377
if (editorReady && monacoRef?.current && editorRef?.current) {
378
- schemaCompletionHandle?.dispose()
379
try {
380
const response = await quest.query<InformationSchemaColumn>(
381
"information_schema.columns()",
@@ -404,6 +403,7 @@ const MonacoEditor = () => {
404
403
}
405
406
useEffect(() => {
+ schemaCompletionHandle?.dispose()
407
setCompletionProvider()
408
}, [tables, monacoRef, editorReady])
409
0 commit comments