diff --git a/src/components/Modal/ModalRegistration/ModalRegistration.jsx b/src/components/Modal/ModalRegistration/ModalRegistration.jsx index f5a339aa..1bd20118 100644 --- a/src/components/Modal/ModalRegistration/ModalRegistration.jsx +++ b/src/components/Modal/ModalRegistration/ModalRegistration.jsx @@ -10,19 +10,19 @@ import ModalLayout from "@components/Common/ModalLayout/ModalLayout"; import anyMoment from "assets/icons/anyMoment.svg"; import doc from "assets/icons/doc.svg"; import telegramLogo from "assets/icons/tgLogo.svg"; -import accept from "assets/images/accept.png" +import accept from "assets/images/accept.png"; import "./modalRegistration.scss"; export const ModalRegistration = ({ active, setActive }) => { const [loader, setLoader] = useState(false); - const [isPartner, setIsPartner] = useState(false) + const [isPartner, setIsPartner] = useState(false); const fields = { username: "", email: "", password: "", - secondPassword: "", + secondPassword: "" }; const closeModal = () => { setActive(false); @@ -125,10 +125,13 @@ export const ModalRegistration = ({ active, setActive }) => { -
setIsPartner(!isPartner)}> +
setIsPartner(!isPartner)} + >

Партнер:

- {isPartner ? accept : ""} + {isPartner ? accept : ""}
diff --git a/src/components/ProfileCalendar/ProfileCalendar.jsx b/src/components/ProfileCalendar/ProfileCalendar.jsx index 3a1b8315..c9c1aabc 100644 --- a/src/components/ProfileCalendar/ProfileCalendar.jsx +++ b/src/components/ProfileCalendar/ProfileCalendar.jsx @@ -7,9 +7,9 @@ import { Link, Navigate } from "react-router-dom"; import { getProfileInfo } from "@redux/outstaffingSlice"; import { getRequestDates, + setEditReport, setReportDate, - setRequestDate, - setEditReport + setRequestDate } from "@redux/reportSlice"; import { urlForLocal } from "@utils/helper"; @@ -103,8 +103,8 @@ export const ProfileCalendar = () => {