From 9ba0a132b8b27e3d1df7434d591de90340f9dd9d Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Thu, 23 Jul 2026 11:54:37 +0530 Subject: [PATCH] fix profile cover error state --- src/app/components/user-profile/UserHero.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 (