Don't show Remove button for nonexistent avatar/banner (#833)
This commit is contained in:
parent
3217c7ff32
commit
46c9de7c18
2 changed files with 3 additions and 2 deletions
|
@ -67,7 +67,7 @@ export function UserBanner({
|
|||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
!!banner && {
|
||||
testID: 'changeBannerRemoveBtn',
|
||||
label: 'Remove',
|
||||
icon: ['far', 'trash-can'] as IconProp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue