diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index cdbd060a..6602c97f 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -634,23 +634,25 @@ function AccountInfo({ View profile image - { - states.showMediaModal = { - mediaAttachments: [ - { - type: 'image', - url: headerStatic, - }, - ], - }; - }} - > - - - View profile header - - + {!!headerStatic && !headerIsAvatar && ( + { + states.showMediaModal = { + mediaAttachments: [ + { + type: 'image', + url: headerStatic, + }, + ], + }; + }} + > + + + View profile header + + + )} {currentAuthenticated && isSelf && supports('@mastodon/profile-edit') && (