Fix jwt-token

This commit is contained in:
2025-09-01 07:37:51 +02:00
parent 881366e768
commit b430018310

View File

@@ -63,7 +63,7 @@ const Layout = () => {
<XMarkIcon className="h-6 w-6 text-white" /> <XMarkIcon className="h-6 w-6 text-white" />
</button> </button>
</div> </div>
<SidebarContent /> <SidebarContent navigation={navigation} />
</div> </div>
</div> </div>
@@ -71,7 +71,7 @@ const Layout = () => {
<div className="hidden md:flex md:flex-shrink-0"> <div className="hidden md:flex md:flex-shrink-0">
<div className="flex flex-col w-64"> <div className="flex flex-col w-64">
<div className="flex flex-col flex-grow pt-5 pb-4 overflow-y-auto bg-white border-r border-gray-200"> <div className="flex flex-col flex-grow pt-5 pb-4 overflow-y-auto bg-white border-r border-gray-200">
<SidebarContent /> <SidebarContent navigation={navigation} />
</div> </div>
</div> </div>
</div> </div>
@@ -153,7 +153,7 @@ const Layout = () => {
); );
}; };
const SidebarContent = () => { const SidebarContent = ({ navigation }) => {
const location = useLocation(); const location = useLocation();
return ( return (