disable profile picture (#1923)

This commit is contained in:
Severiano Badajoz
2020-10-08 12:16:02 -06:00
committed by GitHub
parent c4c48b9a57
commit 6677d0de56

View File

@@ -56,8 +56,9 @@ const Auth = React.memo((props) => {
className={styles.menubarButton}
style={{ padding: 0 }}
>
{userinfo?.picture ? (
<img alt="profile" src={userinfo?.picture} />
{/* eslint-disable-next-line no-constant-condition -- disable profile picture until CSP is tweaked */}
{userinfo?.picture && false ? (
<img alt="profile" size="21px" src={userinfo?.picture} />
) : (
<span style={{ fontSize: "18px" }}>{scientist}</span>
)}