fix(AvatarImage): url no longer uses null

This commit is contained in:
Christopher 2023-05-15 18:51:56 -04:00
parent 5705233705
commit 34c5ce1688

View file

@ -209,7 +209,10 @@ const Settings = () => {
backgroundImage: profile.auth === null ?
`url('${require('/images/anonymous.png')}')`
:
`url('${profile.auth.user.avatar}'), url('${require('/images/default_avatar.png')}')`
profile.auth.user.avatar ?
`url('${profile.auth.user.avatar}')`
:
`url('${require('/images/default_avatar.png')}')`
}}
/>
<div className={styles['email-logout-container']}>