From ad3e0415f9c1b75e69c8286aafaf3995c9497af3 Mon Sep 17 00:00:00 2001 From: Mateusz Titz Date: Mon, 22 Apr 2024 15:37:07 +0200 Subject: [PATCH] remove unneeded variable in ProfilePage --- src/pages/ProfilePage.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/ProfilePage.tsx b/src/pages/ProfilePage.tsx index d2967de8360a..e0a4b55ce149 100755 --- a/src/pages/ProfilePage.tsx +++ b/src/pages/ProfilePage.tsx @@ -95,8 +95,6 @@ function ProfilePage({route}: ProfilePageProps) { const details: PersonalDetails | EmptyObject = personalDetails?.[accountID] ?? (ValidationUtils.isValidAccountRoute(accountID) ? {} : {accountID: 0, avatar: ''}); const displayName = PersonalDetailsUtils.getDisplayNameOrDefault(details, undefined, undefined, isCurrentUser); - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - const avatar = details.avatar; const fallbackIcon = details?.fallbackIcon ?? ''; const login = details?.login ?? ''; const timezone = details?.timezone; @@ -162,7 +160,7 @@ function ProfilePage({route}: ProfilePageProps) {