Skip to content

Commit ed1a14a

Browse files
committed
refactor
1 parent 3b777a0 commit ed1a14a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/configure.tsx renamed to src/components/connect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type FormValues = {
2727
connectionString: string;
2828
};
2929

30-
export const ConfigurationDialog = () => {
30+
export const ConnectDialog = () => {
3131
const { register, handleSubmit } = useForm<FormValues>();
3232
const [isOpen, setIsOpen] = useState(false);
3333
const [connectionString, setConnectionString] = useAtom(connectionStringAtom);

src/components/toolbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from '@/utils/atoms';
88
import { Icon } from './shared/icon';
99
import { cn } from '@/utils/cn';
10-
import { ConfigurationDialog } from './configure';
10+
import { ConnectDialog } from './connect';
1111
import { ThemeSelect } from './theme-select';
1212
import { CommandPalette } from './command-palette';
1313

@@ -83,7 +83,7 @@ export const Toolbar = () => {
8383
</button>
8484
</div>
8585
</div>
86-
<ConfigurationDialog />
86+
<ConnectDialog />
8787
</div>{' '}
8888
</div>
8989
);

0 commit comments

Comments
 (0)