quiz #3
@@ -38,12 +38,12 @@ export const Navigation = () => {
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        path: "/quiz",
 | 
			
		||||
        name: "Тесты"
 | 
			
		||||
        name: "Тесты",
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        path: "/settings",
 | 
			
		||||
        name: "Настройки",
 | 
			
		||||
      }
 | 
			
		||||
      },
 | 
			
		||||
    ],
 | 
			
		||||
    partner: [
 | 
			
		||||
      {
 | 
			
		||||
@@ -95,7 +95,11 @@ export const Navigation = () => {
 | 
			
		||||
        <nav className="profileHeader__nav">
 | 
			
		||||
          {navInfo[user].map((link, index) => {
 | 
			
		||||
            return (
 | 
			
		||||
              <NavLink key={index} end to={link.path === '/quiz' ? link.path : `/profile${link.path}`}>
 | 
			
		||||
              <NavLink
 | 
			
		||||
                key={index}
 | 
			
		||||
                end
 | 
			
		||||
                to={link.path === "/quiz" ? link.path : `/profile${link.path}`}
 | 
			
		||||
              >
 | 
			
		||||
                {link.name}
 | 
			
		||||
              </NavLink>
 | 
			
		||||
            );
 | 
			
		||||
 
 | 
			
		||||
@@ -3,14 +3,13 @@ import { useDispatch, useSelector } from "react-redux";
 | 
			
		||||
import { Link } from "react-router-dom";
 | 
			
		||||
 | 
			
		||||
// import { questionnairesSelector, setQuestionnaires } from "@redux/quizSlice";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import CategoriesItem from "@components/CategoriesItem/CategoriesItem";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs";
 | 
			
		||||
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
// import { HeadBottom } from "@components/features/Candidate-lk/HeadBottom";
 | 
			
		||||
import { CardAvailableTest } from "@components/features/quiz/CardAviableTest";
 | 
			
		||||
import { SelectedCategory } from "@components/features/quiz/SelectedCategory";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user