Bug Fix: onLogout is not defined, use logout from auth store

This commit is contained in:
SergeantPanda 2026-03-08 16:36:36 -05:00
parent 63234a4a46
commit 76d980dcee

View file

@ -311,7 +311,7 @@ const Sidebar = ({ collapsed, toggleDrawer, drawerWidth, miniDrawerWidth }) => {
</UnstyledButton>
</Group>
<ActionIcon variant="transparent" color="white" size="sm">
<LogOut onClick={onLogout} />
<LogOut onClick={logout} />
</ActionIcon>
</Group>
)}