diff --git a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx index cd175b11..803aa2c0 100644 --- a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx +++ b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx @@ -616,7 +616,7 @@ export const TicketFullScreen = () => {
toggleTabs(1)} > img @@ -624,7 +624,7 @@ export const TicketFullScreen = () => { toggleTabs(2)} > img @@ -632,7 +632,7 @@ export const TicketFullScreen = () => { toggleTabs(3)} > img diff --git a/src/components/Navigation/Navigation.jsx b/src/components/Navigation/Navigation.jsx index d1582266..3d5758f7 100644 --- a/src/components/Navigation/Navigation.jsx +++ b/src/components/Navigation/Navigation.jsx @@ -71,22 +71,6 @@ export const Navigation = () => { ] }); - useEffect(() => { - if (localStorage.getItem("role_status") === "18") { - return; - } - // if (Object.keys(profileInfo).length) { - // return; - // } - // apiRequest(`/user/me`).then((profileInfo) => - // dispatch( - // setProfileInfo( - // profileInfo.userCard ? profileInfo.userCard : profileInfo - // ) - // ) - // ); - }, []); - return (
diff --git a/src/components/features/quiz/QuizReport.jsx b/src/components/features/quiz/QuizReport.jsx index 2a3bc550..0e05ccce 100644 --- a/src/components/features/quiz/QuizReport.jsx +++ b/src/components/features/quiz/QuizReport.jsx @@ -25,13 +25,13 @@ export const QuizReport = ({ info }) => {
{Boolean(correctAnswers()) ? correctAnswers() : 0}
-
Правильных ответов
+
правильных ответов
{Boolean(correctWrongAnswers()) ? correctWrongAnswers() : 0}
-
Не правильных ответов
+
неправильных ответов
Статус:
diff --git a/src/pages/ProjectTracker/ProjectTracker.js b/src/pages/ProjectTracker/ProjectTracker.js index 323bc54a..2fab3efd 100644 --- a/src/pages/ProjectTracker/ProjectTracker.js +++ b/src/pages/ProjectTracker/ProjectTracker.js @@ -444,7 +444,7 @@ export const ProjectTracker = () => {
dispatch(setToggleTab(1))} > img @@ -452,7 +452,7 @@ export const ProjectTracker = () => { dispatch(setToggleTab(2))} > img @@ -460,7 +460,7 @@ export const ProjectTracker = () => { dispatch(setToggleTab(3))} > img diff --git a/src/pages/Statistics/Statistics.jsx b/src/pages/Statistics/Statistics.jsx index 9baa953f..c37f59b4 100644 --- a/src/pages/Statistics/Statistics.jsx +++ b/src/pages/Statistics/Statistics.jsx @@ -76,7 +76,7 @@ const Statistics = () => {
toggleTabs(1)} > img @@ -84,7 +84,7 @@ const Statistics = () => { toggleTabs(2)} > img @@ -92,7 +92,7 @@ const Statistics = () => { toggleTabs(3)} > img diff --git a/src/pages/Tracker/Tracker.jsx b/src/pages/Tracker/Tracker.jsx index 7bf7b568..310a3f20 100644 --- a/src/pages/Tracker/Tracker.jsx +++ b/src/pages/Tracker/Tracker.jsx @@ -51,7 +51,6 @@ export const Tracker = () => { const [allCompletedTasks, setAllCompletedTasks] = useState([]); const [modalCreateProject, setModalCreateProject] = useState(false); - const tabs = ["projectsTab", "tasksTab", "archiveTab"]; useEffect(() => { setLoader(true); @@ -143,32 +142,28 @@ export const Tracker = () => {
toggleTabs(1)} > img

Проекты

toggleTabs(2)} > img

Все мои задачи

toggleTabs(3)} > img

Архив

-
+