X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FReportForm.js;h=9940171f344f676edf3ce1d89388e4f789be5be7;hb=45f1e92a30b00dfcf4304dc70126e813df9f4a10;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..9940171 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,47 +19,63 @@ const ReportForm = ({ handleChange, handleSubmit, onCancel, + round, touched, values, }) =>