Started implementing the roles permissions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {User} from "@/interfaces/user";
|
||||
import clsx from "clsx";
|
||||
import {useRouter} from "next/router";
|
||||
import BottomBar from "../BottomBar";
|
||||
import { ToastContainer } from "react-toastify";
|
||||
import Navbar from "../Navbar";
|
||||
import Sidebar from "../Sidebar";
|
||||
|
||||
@@ -20,6 +20,7 @@ export default function Layout({user, children, className, bgColor="bg-white", n
|
||||
|
||||
return (
|
||||
<main className={clsx("w-full min-h-full h-screen flex flex-col bg-mti-gray-smoke relative")}>
|
||||
<ToastContainer />
|
||||
<Navbar
|
||||
path={router.pathname}
|
||||
user={user}
|
||||
|
||||
Reference in New Issue
Block a user