diff --git a/src/App.js b/src/App.js index e7bdf589..49a266eb 100644 --- a/src/App.js +++ b/src/App.js @@ -25,8 +25,8 @@ import { RegistrationSetting } from "@pages/RegistrationSetting/RegistrationSett import Article from "./pages/Article/Article"; import FormPage from "./pages/FormPage/FormPage"; import SingleReportPage from "./pages/SingleReportPage/SingleReportPage"; -import { QuizPage } from "./pages/quiz/QuizPage"; -import { QuizReportPage } from "./pages/quiz/QuizReportPage"; +import { QuizPage } from "./pages/Quiz/QuizPage"; +import { QuizReportPage } from "./pages/Quiz/QuizReportPage"; import { Profile } from "./pages/Profile/Profile.js"; import { Summary } from "./pages/Summary/Summary"; import { ViewReport } from "./pages/ViewReport/ViewReport"; @@ -42,7 +42,7 @@ import { PartnerEmployees } from "./pages/PartnerEmployees/PartnerEmployees"; import { AuthForCandidate } from "./pages/AuthForCandidate/AuthForCandidate"; import { RegistrationForCandidate } from "./pages/RegistrationForCandidate/RegistrationForCandidate"; import { ProfileCandidate } from "./pages/ProfileCandidate/ProfileCandidate"; -import { PassingTests } from "./pages/quiz/PassingTests"; +import { PassingTests } from "./pages/Quiz/PassingTests"; import Blog from "./pages/Blog/Blog"; import Statistics from "@pages/Statistics/Statistics"; import { ProjectTracker } from "./pages/ProjectTracker/ProjectTracker"; diff --git a/src/api/request.js b/src/api/request.js index b1685709..4c07b441 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -51,10 +51,10 @@ export const apiRequest = ( }; const RequestError = (code, msg, data) => { - const description = msg ? `- ${msg}` : ""; + const descriptionMessage = msg ? `- ${msg}` : ""; this.name = "RequestError"; - this.message = `API returned: ${code}${description}.`; + this.message = `API returned: ${code}${descriptionMessage}.`; this.code = code; this.description = msg; this.data = data; diff --git a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx index 55896cc9..d634ff6b 100644 --- a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx +++ b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx @@ -592,12 +592,12 @@ export const ModalTiсket = ({ return (