Don't show Remove button for nonexistent avatar/banner (#833)
This commit is contained in:
@@ -67,7 +67,7 @@ export function UserBanner({
|
||||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
!!banner && {
|
||||
testID: 'changeBannerRemoveBtn',
|
||||
label: 'Remove',
|
||||
icon: ['far', 'trash-can'] as IconProp,
|
||||
|
||||
Reference in New Issue
Block a user