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

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

View File

@ -7,7 +7,7 @@ import './form.scss'
import { withSwalInstance } from 'sweetalert2-react'
import swal from 'sweetalert2'
import {useRequest} from "../../hooks/useRequest";
import {apiRequest} from "../../api/request";
const SweetAlert = withSwalInstance(swal);
@ -25,7 +25,6 @@ const Form = () => {
});
const [isFetching, setIsFetching] = useState(false);
const {apiRequest} = useRequest();
const handleChange = (e) => {
const { id, value } = e.target;