diff --git a/src/app/components/user-profile/UserHero.tsx b/src/app/components/user-profile/UserHero.tsx index 296f0c55..bf38e250 100644 --- a/src/app/components/user-profile/UserHero.tsx +++ b/src/app/components/user-profile/UserHero.tsx @@ -48,6 +48,8 @@ export function UserHeroCover({ bannerUrl?: string; hasStatus: boolean; }) { + const [err, setError] = useState(false); + return (
- {bannerUrl && ( + {!err && bannerUrl && ( {userId} setError(true)} /> )}