♻️ refactor: change sidebar to use nav

This commit is contained in:
Wahyu Kurniawan 2024-02-28 12:16:57 +07:00
parent d5e21fa872
commit d71e544194
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33

View File

@ -43,7 +43,7 @@ export const Sidebar = () => {
}, [disconnect, navigate]); }, [disconnect, navigate]);
return ( return (
<div className="flex flex-col h-full px-6 py-8 gap-9"> <nav className="flex flex-col h-full px-6 py-8 gap-9">
{/* Logo */} {/* Logo */}
<Link to={`/${orgSlug}`}> <Link to={`/${orgSlug}`}>
<div className="flex items-center gap-3 px-2"> <div className="flex items-center gap-3 px-2">
@ -138,6 +138,6 @@ export const Sidebar = () => {
</Tabs.List> </Tabs.List>
</Tabs> </Tabs>
</div> </div>
</div> </nav>
); );
}; };