mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
QQQ-32: added booleans, cleaned up error handling, fixed infinite loop on unauthorized login, removed all the login buttons, removed redundant qClient functions
This commit is contained in:
@ -44,6 +44,7 @@ import {
|
||||
setTransparentSidenav,
|
||||
setWhiteSidenav,
|
||||
} from "context";
|
||||
import AuthenticationButton from "qqq/components/Buttons/AuthenticationButton";
|
||||
|
||||
// Declaring props types for Sidenav
|
||||
interface Props {
|
||||
@ -314,6 +315,7 @@ function Sidenav({ color, brand, brandName, routes, ...rest }: Props): JSX.Eleme
|
||||
}
|
||||
/>
|
||||
<List>{renderRoutes}</List>
|
||||
<AuthenticationButton />
|
||||
</SidenavRoot>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user