hide broken banners

This commit is contained in:
Martti Malmi 2024-01-04 23:35:48 +02:00
parent 2f9fee56b1
commit c4b74b3cb1
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
src={user.banner}
size={bannerWidth}
onClick={() => setModalImage(user.banner || "")}
missingImageElement={<></>}
/>
)}
<div className="profile-wrapper w-max">