X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=resources%2Fjs%2Fcomponents%2Fresults%2FReportForm.js;h=e7d1d9dec2566eb6afca44578138e0d7179a7128;hb=812a270c7a410461e931394496512d36b34ef7b5;hp=fc98c7eefe0fcb8ddddae3cea6fbbca6d0826a4b;hpb=6eaecc8c176f85f1f494906fb796275a74c8dff2;p=alttp.git diff --git a/resources/js/components/results/ReportForm.js b/resources/js/components/results/ReportForm.js index fc98c7e..e7d1d9d 100644 --- a/resources/js/components/results/ReportForm.js +++ b/resources/js/components/results/ReportForm.js @@ -4,8 +4,12 @@ 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 LargeCheck from '../common/LargeCheck'; import i18n from '../../i18n'; +import laravelErrorsToFormik from '../../helpers/laravelErrorsToFormik'; +import { findResult } from '../../helpers/Participant'; import { formatTime, parseTime } from '../../helpers/Result'; import yup from '../../schema/yup'; @@ -21,14 +25,14 @@ const ReportForm = ({