diff --git a/src/components/table/repl.tsx b/src/components/table/repl.tsx index f9a6db8..ec96558 100644 --- a/src/components/table/repl.tsx +++ b/src/components/table/repl.tsx @@ -49,10 +49,6 @@ export default function SqlRepl() { setCustomQuery(sqlFormat(customQuery)); }, [queryHistory]); - useEffect(() => { - console.log(customQuery); - }, [customQuery]); - const myCompletions = useCallback((context: CompletionContext) => { const word = context.matchBefore(/\w*/); if (!word || (word.from === word.to && !context.explicit)) return null; diff --git a/src/components/table/table-data.tsx b/src/components/table/table-data.tsx index 930894c..1c54264 100644 --- a/src/components/table/table-data.tsx +++ b/src/components/table/table-data.tsx @@ -41,7 +41,9 @@ const TableHeadCell: React.FC<{
- {columnName} + + {columnName} + {columnSchema && }
diff --git a/src/components/table/table-section.tsx b/src/components/table/table-section.tsx index f810963..795f272 100644 --- a/src/components/table/table-section.tsx +++ b/src/components/table/table-section.tsx @@ -88,7 +88,7 @@ export default function DBTable() { const renderQueryInput = useMemo( () => ( -
+
@@ -152,7 +152,7 @@ export default function DBTable() { return (
-
+