mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
fix(AvatarImage): removed null in navmenu
This commit is contained in:
parent
f1f30b920a
commit
1e98fc2a97
1 changed files with 4 additions and 1 deletions
|
|
@ -44,7 +44,10 @@ const NavMenuContent = ({ onClick }) => {
|
||||||
backgroundImage: profile.auth === null ?
|
backgroundImage: profile.auth === null ?
|
||||||
`url('${require('/images/anonymous.png')}')`
|
`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-container']}>
|
<div className={styles['email-container']}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue