Skip to content
Snippets Groups Projects
Commit 99cefd45 authored by Razzan Yoni's avatar Razzan Yoni
Browse files

resolve subscription feature

parent e18380b2
No related merge requests found
......@@ -7,7 +7,7 @@ import {useAuth} from "@/TonalityApp.tsx";
const Sidebar = () => {
const { token, onLogout } = useAuth();
const { token, username, onLogout } = useAuth();
return (
<nav>
<div className="sidebar text-white w-200 flex fixed flex-col items-center top-0 left-0 h-full border-r border-opacity-10 border-gray-300 pr-6">
......@@ -28,7 +28,7 @@ const Sidebar = () => {
</nav>
</div>
<div className="user-profile flex mb-5 items-center text-left justify-items-left ">
<FontAwesomeIcon icon={faUser} className="mr-2" /> Username
<FontAwesomeIcon icon={faUser} className="mr-2" /> {username}
</div>
{
token &&
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment