Skip to content

Commit 2f12d04

Browse files
committed
Fix react coding standards errors
1 parent 3da207c commit 2f12d04

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/components/feed-sources/templates/brnd-feed-type.jsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
1-
import { React, useEffect, useState } from "react";
1+
import React from "react";
22
import PropTypes from "prop-types";
33
import { useTranslation } from "react-i18next";
44
import FormInput from "../../util/forms/form-input";
55

6-
const BrndFeedType = ({
7-
feedSourceId,
8-
handleInput,
9-
formStateObject,
10-
mode,
11-
}) => {
6+
const BrndFeedType = ({ handleInput, formStateObject, mode }) => {
127
const { t } = useTranslation("common", {
138
keyPrefix: "brnd-feed-type",
149
});
1510

1611
return (
1712
<>
18-
13+
1914
<FormInput
2015
name="api_base_uri"
2116
type="text"
@@ -61,7 +56,7 @@ BrndFeedType.propTypes = {
6156
company_id: PropTypes.string,
6257
api_auth_key: PropTypes.string,
6358
}),
64-
feedSourceId: PropTypes.string,
59+
// feedSourceId: PropTypes.string, // removed as unused
6560
mode: PropTypes.string,
6661
};
6762

0 commit comments

Comments
 (0)