X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=resources%2Fjs%2Fcomponents%2Fresults%2FReportForm.js;h=35b7e0fddab94a55d5773c1c15b5cbc0371f4d8d;hb=7c6716036321ba09846785720e81459aad55a323;hp=943aac39ff059c016bef1f49e9fff978fc75d60e;hpb=920f11ddfeb2175e4e1556886773dcd044c6085b;p=alttp.git diff --git a/resources/js/components/results/ReportForm.js b/resources/js/components/results/ReportForm.js index 943aac3..35b7e0f 100644 --- a/resources/js/components/results/ReportForm.js +++ b/resources/js/components/results/ReportForm.js @@ -8,7 +8,7 @@ import toastr from 'toastr'; import LargeCheck from '../common/LargeCheck'; import laravelErrorsToFormik from '../../helpers/laravelErrorsToFormik'; -import { findResult } from '../../helpers/Participant'; +import { findResult } from '../../helpers/User'; import { formatTime, parseTime } from '../../helpers/Result'; import i18n from '../../i18n'; import yup from '../../schema/yup'; @@ -19,50 +19,86 @@ const ReportForm = ({ handleChange, handleSubmit, onCancel, + round, touched, values, }) =>