X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=resources%2Fjs%2Fcomponents%2Ftournament%2FDiscordForm.js;h=d896504c60bab62d6c0617d68ccc8e34fcdf1c51;hb=7c6716036321ba09846785720e81459aad55a323;hp=f9eba93e516615f08437c302b3ea5070bb801a8b;hpb=f446d5bcf3b87bd9443a060e27e9c0601c96fbb9;p=alttp.git diff --git a/resources/js/components/tournament/DiscordForm.js b/resources/js/components/tournament/DiscordForm.js index f9eba93..d896504 100644 --- a/resources/js/components/tournament/DiscordForm.js +++ b/resources/js/components/tournament/DiscordForm.js @@ -2,10 +2,11 @@ import axios from 'axios'; import { withFormik } from 'formik'; import PropTypes from 'prop-types'; import React from 'react'; -import { Button, Col, Form, Row } from 'react-bootstrap'; +import { Button, Form } from 'react-bootstrap'; import { withTranslation } from 'react-i18next'; import toastr from 'toastr'; +import DiscordChannelSelect from '../common/DiscordChannelSelect'; import laravelErrorsToFormik from '../../helpers/laravelErrorsToFormik'; import i18n from '../../i18n'; import yup from '../../schema/yup'; @@ -16,11 +17,26 @@ const DiscordForm = ({ handleChange, handleSubmit, touched, + tournament, values, }) =>