LlamaFinetuneGGUF commited on
Commit
8903d7c
·
1 Parent(s): 9aaa3b5

removed test connection button

Browse files

removed test connection button as it was not done.

app/components/settings/SettingsWindow.tsx CHANGED
@@ -201,12 +201,6 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
201
  toast.success('GitHub credentials saved successfully!');
202
  };
203
 
204
- const handleTestConnection = () => {
205
- // Implement the logic to test the GitHub connection here
206
- // For example, you could make an API call to GitHub to verify the credentials
207
- toast.info('Testing GitHub connection...');
208
- };
209
-
210
  return (
211
  <RadixDialog.Root open={open}>
212
  <RadixDialog.Portal>
@@ -476,12 +470,6 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
476
  >
477
  Save Connection
478
  </button>
479
- <button
480
- onClick={handleTestConnection}
481
- className="bg-blue-500 rounded-lg px-4 py-2 transition-colors duration-200 hover:bg-blue-600 text-white"
482
- >
483
- Test Connection
484
- </button>
485
  </div>
486
  </div>
487
  )}
 
201
  toast.success('GitHub credentials saved successfully!');
202
  };
203
 
 
 
 
 
 
 
204
  return (
205
  <RadixDialog.Root open={open}>
206
  <RadixDialog.Portal>
 
470
  >
471
  Save Connection
472
  </button>
 
 
 
 
 
 
473
  </div>
474
  </div>
475
  )}