Skip to content

Commit f0067d6

Browse files
committed
6238: Removed prop types from brnd feed type
1 parent 280e0af commit f0067d6

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,3 +228,8 @@ tasks:
228228
desc: "Copy the folder from fixtures/public/fixtures to public/fixtures. Rerun if fixtures are changed."
229229
cmds:
230230
- task compose -- exec phpfpm cp -r fixtures/public/fixtures public/
231+
232+
assets:build:
233+
desc: "Build the assets."
234+
cmds:
235+
- task compose -- run --rm node npm run build

assets/admin/components/feed-sources/templates/brnd-feed-type.jsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from "react";
2-
import PropTypes from "prop-types";
32
import { useTranslation } from "react-i18next";
43
import FormInput from "../../util/forms/form-input";
54

@@ -48,14 +47,4 @@ const BrndFeedType = ({ handleInput, formStateObject, mode }) => {
4847
);
4948
};
5049

51-
BrndFeedType.propTypes = {
52-
handleInput: PropTypes.func,
53-
formStateObject: PropTypes.shape({
54-
api_base_uri: PropTypes.string,
55-
company_id: PropTypes.string,
56-
api_auth_key: PropTypes.string,
57-
}),
58-
mode: PropTypes.string,
59-
};
60-
6150
export default BrndFeedType;

0 commit comments

Comments
 (0)