Skip to content

Commit

Permalink
fix: Be sure the avatar body screen is defined (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio authored Jan 11, 2024
1 parent 3ff706d commit 6244096
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,11 @@ export const UserMenuSignedIn = (props: UserMenuSignedInProps) => {
>
<div
style={
avatar?.avatar?.snapshots?.body && {
backgroundImage: `url(${avatar?.avatar?.snapshots?.body})`
}
avatar?.avatar?.snapshots?.body
? {
backgroundImage: `url(${avatar?.avatar?.snapshots?.body})`
}
: undefined
}
></div>
</div>
Expand Down

1 comment on commit 6244096

@vercel
Copy link

@vercel vercel bot commented on 6244096 Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

decentraland-ui – ./

decentraland-ui-git-master-decentraland1.vercel.app
decentraland-ui-decentraland1.vercel.app

Please sign in to comment.