X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FReportForm.js;h=35b7e0fddab94a55d5773c1c15b5cbc0371f4d8d;hb=f1c8c3cc53a09d1c261875d2f482b6e19bc48a9a;hp=e7d1d9dec2566eb6afca44578138e0d7179a7128;hpb=812a270c7a410461e931394496512d36b34ef7b5;p=alttp.git diff --git a/resources/js/components/results/ReportForm.js b/resources/js/components/results/ReportForm.js index e7d1d9d..35b7e0f 100644 --- a/resources/js/components/results/ReportForm.js +++ b/resources/js/components/results/ReportForm.js @@ -7,10 +7,10 @@ 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 { findResult } from '../../helpers/User'; import { formatTime, parseTime } from '../../helpers/Result'; +import i18n from '../../i18n'; import yup from '../../schema/yup'; const ReportForm = ({ @@ -19,50 +19,86 @@ const ReportForm = ({ handleChange, handleSubmit, onCancel, + round, touched, values, }) =>