From 0a7661980eceaa5b6b9ef2fff97a57e24dd31651 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Mon, 15 Jul 2024 19:36:30 +0200 Subject: [PATCH] click avatar in nav to see the owen profile view --- src/Components/AppShell/NavBar.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Components/AppShell/NavBar.tsx b/src/Components/AppShell/NavBar.tsx index 5570c6c2..055d9099 100644 --- a/src/Components/AppShell/NavBar.tsx +++ b/src/Components/AppShell/NavBar.tsx @@ -86,12 +86,14 @@ export default function NavBar({ appName, userType}: { appName: string, userType {isAuthenticated ?
- { userProfile?.image?
+ + { userProfile?.image &&
-
: <>} +
}
{userProfile.name||user?.first_name}
+