X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FReportForm.js;h=28a757a78ed9326a916aa6f3f24a18b3f7fedda6;hb=ce0c2752445b1d0960e331a335f56001f3c521c6;hp=fc98c7eefe0fcb8ddddae3cea6fbbca6d0826a4b;hpb=d748feb96453d74aeffec648d6f5f68d9ef3b520;p=alttp.git diff --git a/resources/js/components/results/ReportForm.js b/resources/js/components/results/ReportForm.js index fc98c7e..28a757a 100644 --- a/resources/js/components/results/ReportForm.js +++ b/resources/js/components/results/ReportForm.js @@ -4,9 +4,13 @@ import PropTypes from 'prop-types'; import React from 'react'; import { Button, Col, Form, Modal, Row } from 'react-bootstrap'; import { withTranslation } from 'react-i18next'; +import toastr from 'toastr'; -import i18n from '../../i18n'; +import LargeCheck from '../common/LargeCheck'; +import laravelErrorsToFormik from '../../helpers/laravelErrorsToFormik'; +import { findResult } from '../../helpers/Participant'; import { formatTime, parseTime } from '../../helpers/Result'; +import i18n from '../../i18n'; import yup from '../../schema/yup'; const ReportForm = ({ @@ -21,14 +25,14 @@ const ReportForm = ({