diff --git a/packages/web/src/tabs/QueryTab.js b/packages/web/src/tabs/QueryTab.js index cd8ddb21..2f507071 100644 --- a/packages/web/src/tabs/QueryTab.js +++ b/packages/web/src/tabs/QueryTab.js @@ -6,7 +6,6 @@ import engines from 'dbgate-engines'; import { useConnectionInfo, - getTableInfo, getDbCore, getConnectionInfo, getSqlObjectInfo, diff --git a/packages/web/src/tabs/ShellTab.js b/packages/web/src/tabs/ShellTab.js index 2197a8ef..2a6c5150 100644 --- a/packages/web/src/tabs/ShellTab.js +++ b/packages/web/src/tabs/ShellTab.js @@ -2,22 +2,11 @@ import React from 'react'; import ReactDOM from 'react-dom'; import _ from 'lodash'; import axios from '../utility/axios'; -import engines from 'dbgate-engines'; - -import { useConnectionInfo, getTableInfo, getConnectionInfo, getSqlObjectInfo } from '../utility/metadataLoaders'; -import SqlEditor from '../sqleditor/SqlEditor'; -import { useUpdateDatabaseForTab, useSetOpenedTabs, useOpenedTabs } from '../utility/globalState'; -import QueryToolbar from '../query/QueryToolbar'; -import SocketMessagesView from '../query/SocketMessagesView'; -import { TabPage } from '../widgets/TabControl'; -import ResultTabs from '../sqleditor/ResultTabs'; -import { VerticalSplitter, HorizontalSplitter } from '../widgets/Splitter'; +import { useSetOpenedTabs } from '../utility/globalState'; +import { VerticalSplitter } from '../widgets/Splitter'; import keycodes from '../utility/keycodes'; import { changeTab } from '../utility/common'; import useSocket from '../utility/SocketProvider'; -import SaveSqlFileModal from '../modals/SaveSqlFileModal'; -import useModalState from '../modals/useModalState'; -import sqlFormatter from 'sql-formatter'; import JavaScriptEditor from '../sqleditor/JavaScriptEditor'; import ShellToolbar from '../query/ShellToolbar'; import RunnerOutputPane from '../query/RunnerOutputPane';