removed test connection button

removed test connection button as it was not done.
This commit is contained in:
Dustin Loring 2024-12-09 09:31:29 -05:00
parent 9aaa3b560c
commit 8903d7c1cb

View File

@ -201,12 +201,6 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
toast.success('GitHub credentials saved successfully!'); 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 ( return (
<RadixDialog.Root open={open}> <RadixDialog.Root open={open}>
<RadixDialog.Portal> <RadixDialog.Portal>
@ -476,12 +470,6 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
> >
Save Connection Save Connection
</button> </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>
</div> </div>
)} )}