scope warning

pull/4791/head
filip mertens 5 months ago
parent 31bca3eb20
commit 3675958113
  1. 4
      libs/remix-ui/git/src/components/panels/githubcredentials.tsx

@ -19,7 +19,11 @@ export const GitHubCredentials = () => {
useEffect(() => {
refresh()
if(context.gitHubUser){
setScopeWarning(!(context.gitHubScopes && context.gitHubScopes.length > 0))
}else{
setScopeWarning(false)
}
}, [loader.plugin, context.gitHubAccessToken, context.userEmails, context.gitHubUser, context.gitHubScopes])
function handleChangeTokenState(e: string): void {

Loading…
Cancel
Save