Improvements and fixes on OAuth providers (#304)

This commit is contained in:
Riccardo Graziosi
2024-03-06 19:36:26 +01:00
committed by GitHub
parent 32d19cbe7c
commit 39a757fe5b
7 changed files with 21 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ const OAuthProviderLink = ({ oAuthId, oAuthName, oAuthLogo, oAuthReason, isSignU
onClick={() => window.location.href = `/o_auths/${oAuthId}/start?reason=${oAuthReason}`}
className={`oauthProviderBtn oauthProvider${oAuthName.replace(' ', '')}`}
>
<img src={oAuthLogo} alt={oAuthName} width={28} height={28} />
{ oAuthLogo && oAuthLogo.length > 0 && <img src={oAuthLogo} alt={oAuthName} width={28} height={28} /> }
<span className='oauthProviderText'>
{
isSignUp ?