X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fepisodes%2FApplyForm.js;h=ce5f88e4f7f9713d41f526a3c19eac65cbca6bb1;hb=249e06be11d0f7778d99956c87d4f0a8ac7e69f7;hp=65befb722b8ef23a9e8c2bce7c55cdf8b7ee3b7f;hpb=5a575dc29f3af10f1d8e142ff9e1c6ccdfa3b075;p=alttp.git diff --git a/resources/js/components/episodes/ApplyForm.js b/resources/js/components/episodes/ApplyForm.js index 65befb7..ce5f88e 100644 --- a/resources/js/components/episodes/ApplyForm.js +++ b/resources/js/components/episodes/ApplyForm.js @@ -1,13 +1,13 @@ import { withFormik } from 'formik'; import PropTypes from 'prop-types'; import React from 'react'; -import { Button, Col, Form, Modal, Row } from 'react-bootstrap'; +import { Button, Form, Modal } from 'react-bootstrap'; import { useTranslation } from 'react-i18next'; import DialogEpisode from './DialogEpisode'; import laravelErrorsToFormik from '../../helpers/laravelErrorsToFormik'; import { applicableChannels } from '../../helpers/permissions'; -import { withUser } from '../../helpers/UserContext'; +import { withUser } from '../../hooks/user'; const ApplyForm = ({ as, @@ -75,6 +75,7 @@ const ApplyForm = ({ }; ApplyForm.propTypes = { + as: PropTypes.string, episode: PropTypes.shape({ }), errors: PropTypes.shape({