Added Logout Option and prefetch for the dashboard
This commit is contained in:
@@ -6,6 +6,7 @@ import LayersIcon from "@mui/icons-material/Layers";
|
||||
import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
|
||||
import ContentCopyIcon from "@mui/icons-material/ContentCopy";
|
||||
import LockIcon from "@mui/icons-material/Lock";
|
||||
import LogoutIcon from "@mui/icons-material/Logout";
|
||||
import SettingsIcon from "@mui/icons-material/Settings";
|
||||
import PostAddIcon from "@mui/icons-material/PostAdd";
|
||||
import MailOutlineIcon from "@mui/icons-material/MailOutline";
|
||||
@@ -513,4 +514,9 @@ export const SidebarData = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Logout",
|
||||
path: "/auth/logout",
|
||||
icon: <LogoutIcon />,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user