X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fepisodes%2FApplyForm.js;h=ce5f88e4f7f9713d41f526a3c19eac65cbca6bb1;hb=4c5a82cb876e96c72c50e8bc12bd8a43a9afe847;hp=65befb722b8ef23a9e8c2bce7c55cdf8b7ee3b7f;hpb=1e725fef6dc440aaeea8c30e1e0598dc5d24ad86;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({