Skip to content

Commit 85e6a8a

Browse files
Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent e6e21c8 commit 85e6a8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/components/templates/hql/hooks/useMonacoSetup.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export function useMonacoSetup({
3232
useEffect(() => {
3333
if (!monacoInstance || !clickhouseSchemas) return;
3434

35-
const tableSchema = clickhouseSchemas;
35+
const schemaTableNames = getTableNames(clickhouseSchemas);
36+
const schemaTableNamesSet = getTableNamesSet(clickhouseSchemas);
3637
const schemaTableNames = getTableNames(tableSchema);
3738
const schemaTableNamesSet = getTableNamesSet(tableSchema);
3839

0 commit comments

Comments
 (0)