Переписываю спорные решения

Фикс отправки отчета, проверка на массив в map в Description.js
This commit is contained in:
Z1chi committed 2023-01-20 16:20:06 +03:00
1 parent 642a8a9641
commit 56f63dbed2
50 files changed
+34327 -9279

No files matched your search

+1 -2
View File
@@ -7,7 +7,7 @@ import {currentMonthAndDay} from '../Calendar/calendarHelper'
import {Footer} from "../Footer/Footer";
import {ProfileHeader} from "../ProfileHeader/ProfileHeader";
import {useRequest} from "../../hooks/useRequest";
import {apiRequest} from "../../api/request";
import {getReportDate} from '../../redux/reportSlice'
@@ -35,7 +35,6 @@ const getCreatedDate = (day) => {
const ReportForm = () => {
const reportDate = useSelector(getReportDate);
const {apiRequest} = useRequest();
const [isFetching, setIsFetching] = useState(false);
const [reportSuccess, setReportSuccess] = useState(false);