modified: frontend/src/pages/SqlInterface.tsx
This commit is contained in:
@@ -188,8 +188,6 @@ export default function SqlInterface() {
|
|||||||
return () => window.removeEventListener('keydown', handleKeyDown);
|
return () => window.removeEventListener('keydown', handleKeyDown);
|
||||||
}, [executeQuery]);
|
}, [executeQuery]);
|
||||||
|
|
||||||
const selectedDatabase = databases.find((db: Database) => db.id === activeTab?.databaseId);
|
|
||||||
|
|
||||||
if (isLoadingDatabases) {
|
if (isLoadingDatabases) {
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center justify-center h-64">
|
<div className="flex items-center justify-center h-64">
|
||||||
|
|||||||
Reference in New Issue
Block a user