feat: db-editor layout change

This commit is contained in:
lhwan
2024-08-21 11:07:25 +08:00
parent ffae11c421
commit d097a48a80

View File

@@ -116,7 +116,6 @@ function DbEditorContent({ layout = 'LR', editorValue, chartData, tableData, tab
}
};
}, [tables])
return (
<div
className={classNames('flex w-full flex-1 h-full gap-2 overflow-hidden', {
@@ -618,6 +617,7 @@ function DbEditor() {
})}
>
<DbEditorContent
layout={layout}
editorValue={item}
handleChange={(value) => {
const { sql, thoughts } = resolveSqlAndThoughts(value);