mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
removed test connection button
removed test connection button as it was not done.
This commit is contained in:
parent
9aaa3b560c
commit
8903d7c1cb
@ -201,12 +201,6 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
|
||||
toast.success('GitHub credentials saved successfully!');
|
||||
};
|
||||
|
||||
const handleTestConnection = () => {
|
||||
// Implement the logic to test the GitHub connection here
|
||||
// For example, you could make an API call to GitHub to verify the credentials
|
||||
toast.info('Testing GitHub connection...');
|
||||
};
|
||||
|
||||
return (
|
||||
<RadixDialog.Root open={open}>
|
||||
<RadixDialog.Portal>
|
||||
@ -476,12 +470,6 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
|
||||
>
|
||||
Save Connection
|
||||
</button>
|
||||
<button
|
||||
onClick={handleTestConnection}
|
||||
className="bg-blue-500 rounded-lg px-4 py-2 transition-colors duration-200 hover:bg-blue-600 text-white"
|
||||
>
|
||||
Test Connection
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user