Skip to content

Commit f9d80a8

Browse files
committed
refactor: clean up imports and update editor mount function
This commit removes an unused import from the CassandraBrowser component and updates the parameter name in the handleEditorMount function of the CassandraShell component for clarity. These changes enhance code readability and maintainability.
1 parent 7d32a13 commit f9d80a8

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/cassandra/CassandraBrowser.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { useState, useEffect } from "react";
2-
import { Play, RefreshCw, Key, Columns3, ChevronDown } from "lucide-react";
2+
import { RefreshCw, Key, Columns3, ChevronDown } from "lucide-react";
33
import { cn } from "@/lib/utils";
44
import {
55
Button,
6-
Input,
76
Select,
87
SelectContent,
98
SelectItem,

src/components/cassandra/CassandraShell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function CassandraShell({ connectionId }: CassandraShellProps) {
6464
"ANY",
6565
];
6666

67-
const handleEditorMount = (editor: any, monaco: Monaco) => {
67+
const handleEditorMount = (_editor: any, monaco: Monaco) => {
6868
// Register custom themes for Monaco
6969
registerCustomThemes(monaco);
7070
// Set the theme after registering

0 commit comments

Comments
 (0)