update: navbar for assessment
This commit is contained in:
parent
b8e949beda
commit
2cbc5246d6
|
|
@ -19,7 +19,7 @@ export default function AppNavbar() {
|
||||||
// const {user} = useAuth();
|
// const {user} = useAuth();
|
||||||
|
|
||||||
const { pathname } = useLocation();
|
const { pathname } = useLocation();
|
||||||
const pathsThatCloseSidebar = ["/assessmentResult"];
|
const pathsThatCloseSidebar = ["/assessmentResult", "/assessment"];
|
||||||
|
|
||||||
const [isSidebarOpen, setSidebarOpen] = useState(true);
|
const [isSidebarOpen, setSidebarOpen] = useState(true);
|
||||||
const toggleSidebar = () => {
|
const toggleSidebar = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user