forked from Kieran/snort
bug fix
This commit is contained in:
parent
ed4a0678e1
commit
a9abc1f7a7
@ -55,7 +55,7 @@ export default function ProfilePage() {
|
||||
<>
|
||||
<div className="profile flex">
|
||||
<div>
|
||||
<div style={{ backgroundImage: `url(${user?.picture.length === 0 ? Nostrich : user?.picture})` }} className="avatar">
|
||||
<div style={{ backgroundImage: `url(${(user?.picture?.length ?? 0) === 0 ? Nostrich : user?.picture})` }} className="avatar">
|
||||
</div>
|
||||
</div>
|
||||
<div className="f-grow">
|
||||
|
Loading…
Reference in New Issue
Block a user