From 6a5bc0ade3dece62e6726f388c18f710dce62cde Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 5 Mar 2025 14:51:56 +0000 Subject: [PATCH] removed hardcoded asset api (#179) --- src/Components/AppShell/NavBar.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Components/AppShell/NavBar.tsx b/src/Components/AppShell/NavBar.tsx index b74b69ad..593f6d39 100644 --- a/src/Components/AppShell/NavBar.tsx +++ b/src/Components/AppShell/NavBar.tsx @@ -33,8 +33,6 @@ export default function NavBar({ appName }: { appName: string }) { : setUserProfile({ id: crypto.randomUUID(), name: user?.first_name ?? '', text: '' }) }, [user, items]) - // useEffect(() => {}, [userProfile]) - const nameRef = useRef(null) const [nameWidth, setNameWidth] = useState(0) const location = useLocation() @@ -111,7 +109,7 @@ export default function NavBar({ appName }: { appName: string }) { {userProfile.image && (
- +
)}