Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq authored Feb 4, 2024
1 parent 328d558 commit 233bcee
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions apps/web/app/[locale]/integration/github/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,10 @@ const GitHub = () => {

const installing = useRef<boolean>(false);

const { installGitHub, getRepositories } = useGitHubIntegration();
// const { loading: integrationLoading } = useIntegration();
const { installGitHub, getRepositories } = useGitHubIntegration();
const { getIntegrationTenant, loading: integrationTenantLoading, integrationTenant } = useIntegrationTenant();

const { loading: loadingIntegrationTypes, integrationTypes, getIntegrationTypes } = useIntegrationTypes();

// const params = {
// state: 'http://localhost:3001/integration/github'
// } as { [x: string]: string };

// const queries = qs.stringify(params || {});
// const url = `https://github.com/apps/badal-ever-testing-probot/installations/new?${queries.toString()}`;


const handleInstallGitHub = useCallback(() => {
installing.current = true;

Expand Down

0 comments on commit 233bcee

Please sign in to comment.