diff --git a/apps/remix-ide/src/app/files/dgitProvider.ts b/apps/remix-ide/src/app/files/dgitProvider.ts index 17a971c031..2e16ea6c04 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.ts +++ b/apps/remix-ide/src/app/files/dgitProvider.ts @@ -400,7 +400,6 @@ class DGitProvider extends Plugin { const defaultConfig = await this.addIsomorphicGitConfigFS() const cmd = config ? defaultConfig ? { ...defaultConfig, ...config } : config : defaultConfig const name = await git.currentBranch(cmd) - console.log('current branch', name) let remote: remote = undefined try { const remoteName = await git.getConfig({ diff --git a/libs/remix-ui/git/src/components/github/devicecode.tsx b/libs/remix-ui/git/src/components/github/devicecode.tsx index 9e53099699..e1b6891bf4 100644 --- a/libs/remix-ui/git/src/components/github/devicecode.tsx +++ b/libs/remix-ui/git/src/components/github/devicecode.tsx @@ -73,7 +73,6 @@ export const GetDeviceCode = () => { await actions.loadGitHubUserFromToken() } - return ( <> {(context.gitHubUser && context.gitHubUser.login) ? null : diff --git a/libs/remix-ui/git/src/lib/gitactions.ts b/libs/remix-ui/git/src/lib/gitactions.ts index 0dd9891e3d..fae76f0584 100644 --- a/libs/remix-ui/git/src/lib/gitactions.ts +++ b/libs/remix-ui/git/src/lib/gitactions.ts @@ -563,7 +563,7 @@ export const loadGitHubUserFromToken = async () => { type: 'success', message: `Github user loaded...` }) - }else{ + } else { sendToGitLog({ type: 'error', message: `Please check your GitHub token in the GitHub settings.`