From 40e267aecda27ee01c02596741171dc5131c4e6d Mon Sep 17 00:00:00 2001 From: Julien Goux Date: Thu, 27 Feb 2025 11:31:13 +0100 Subject: [PATCH] remove comments --- apps/studio/lib/gitlab.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/studio/lib/gitlab.tsx b/apps/studio/lib/gitlab.tsx index b0b1cd23dc4..cfb4d9fa870 100644 --- a/apps/studio/lib/gitlab.tsx +++ b/apps/studio/lib/gitlab.tsx @@ -45,20 +45,16 @@ export function openInstallGitLabIntegrationWindow(type: 'install' | 'authorize' : screen.height let windowUrl - // if (type === 'install') { - // windowUrl = GITHUB_INTEGRATION_INSTALLATION_URL - // } else if (type === 'authorize') { const state = makeRandomString(32) localStorage.setItem(LOCAL_STORAGE_KEYS.GITLAB_AUTHORIZATION_STATE, state) windowUrl = `${GITLAB_INTEGRATION_AUTHORIZATION_URL}&state=${state}` - // } const systemZoom = width / window.screen.availWidth const left = (width - w) / 2 / systemZoom + dualScreenLeft const top = (height - h) / 2 / systemZoom + dualScreenTop const newWindow = window.open( windowUrl, - 'GitHub', + 'GitLab', `scrollbars=yes,resizable=no,status=no,location=no,toolbar=no,menubar=no, width=${w / systemZoom}, height=${h / systemZoom},