mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
improvement: change layout name in routes
This commit is contained in:
@@ -102,7 +102,7 @@ const useStyles = makeStyles(theme => ({
|
||||
},
|
||||
}));
|
||||
|
||||
const MainDrawer = ({ appTitle, children }) => {
|
||||
const LoggedInLayout = ({ appTitle, children }) => {
|
||||
const drawerState = localStorage.getItem("drawerOpen");
|
||||
const userId = +localStorage.getItem("userId");
|
||||
const classes = useStyles();
|
||||
@@ -241,4 +241,4 @@ const MainDrawer = ({ appTitle, children }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default MainDrawer;
|
||||
export default LoggedInLayout;
|
||||
|
||||
Reference in New Issue
Block a user