show disconnect if connect fails

pull/5370/head
yann300 6 months ago
parent f31fc5cc85
commit 1c342286b2
  1. 1
      libs/remix-ui/git/src/components/github/devicecode.tsx

@ -64,6 +64,7 @@ export const GetDeviceCode = () => {
await actions.loadGitHubUserFromToken()
} else {
await sendToMatomo(gitMatomoEventTypes.CONNECTTOGITHUBFAIL)
pluginActions.disconnectFromGithub()
}
}

Loading…
Cancel
Save