diff --git a/apps/studio/components/interfaces/Account/Preferences/AccountConnections.tsx b/apps/studio/components/interfaces/Account/Preferences/AccountConnections.tsx index 8da4c123a94..08a2dadff03 100644 --- a/apps/studio/components/interfaces/Account/Preferences/AccountConnections.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/AccountConnections.tsx @@ -1,7 +1,7 @@ import React from 'react' import Panel from 'components/ui/Panel' import ShimmeringLoader from 'ui-patterns/ShimmeringLoader' -import { Button, cn } from 'ui' +import { Badge, Button, cn } from 'ui' import { useGitHubAuthorizationQuery } from 'data/integrations/github-authorization-query' import { openInstallGitHubIntegrationWindow } from 'lib/github' import { Github } from 'lucide-react' // Import Github icon @@ -25,12 +25,6 @@ const AccountConnections = () => { openInstallGitHubIntegrationWindow('authorize') } - // TODO: Implement disconnect functionality - const handleDisconnect = () => { - console.log('Disconnect GitHub clicked') - // This will likely involve a mutation to revoke the authorization. - } - return ( {
Connections

- Connect your GitHub account to sync projects with GitHub repositories + Connect your Supabase account with other services

} @@ -71,15 +65,13 @@ const AccountConnections = () => {

GitHub

- {isConnected ? 'Authorized' : 'Not authorized'} + Sync GitHub repos to Supabase projects

{isConnected ? ( - + Connected ) : (