@@ -2,7 +2,6 @@ import { React } from "react";
22import { Alert , Button , Row , Col } from "react-bootstrap" ;
33import { useTranslation } from "react-i18next" ;
44import { useNavigate } from "react-router-dom" ;
5- import PropTypes from "prop-types" ;
65import Form from "react-bootstrap/Form" ;
76import LoadingComponent from "../util/loading-component/loading-component" ;
87import FormInputArea from "../util/forms/form-input-area" ;
@@ -185,30 +184,4 @@ function FeedSourceForm({
185184 ) ;
186185}
187186
188- FeedSourceForm . propTypes = {
189- feedSource : PropTypes . shape ( {
190- title : PropTypes . string ,
191- description : PropTypes . string ,
192- feedType : PropTypes . string ,
193- supportedFeedOutputType : PropTypes . string ,
194- } ) ,
195- handleInput : PropTypes . func . isRequired ,
196- handleSubmit : PropTypes . func . isRequired ,
197- handleSaveNoClose : PropTypes . func . isRequired ,
198- handleSecretInput : PropTypes . func . isRequired ,
199- onFeedTypeChange : PropTypes . func . isRequired ,
200- headerText : PropTypes . string . isRequired ,
201- isLoading : PropTypes . bool ,
202- loadingMessage : PropTypes . string ,
203- feedSourceTypeOptions : PropTypes . arrayOf (
204- PropTypes . shape ( {
205- value : PropTypes . string . isRequired ,
206- title : PropTypes . string ,
207- key : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) . isRequired ,
208- template : PropTypes . element ,
209- } )
210- ) . isRequired ,
211- mode : PropTypes . string ,
212- } ;
213-
214187export default FeedSourceForm ;
0 commit comments