diff --git a/web/pages/[username]/index.tsx b/web/pages/[username]/index.tsx index 99739ce1..db140ffc 100644 --- a/web/pages/[username]/index.tsx +++ b/web/pages/[username]/index.tsx @@ -229,18 +229,6 @@ export default function UserPage(props: UserPageProps) { return } - if (!fetchedProps.user) { - return ( - - -
- {t('userpage.accountDeleted', 'This account has been deleted.')} -
- -
- ) - } - if (fetchedProps.user?.isBannedFromPosting) { return ( @@ -253,18 +241,12 @@ export default function UserPage(props: UserPageProps) { ) } - if (!fetchedProps.profile) { - return ( - - -
- {t('custom404.profileNotFound', 'Profile not found.')} -
- -
- ) + if (!fetchedProps.user || !fetchedProps.profile) { + return } + // console.log('fetchedProps', fetchedProps) + return }