Skip to content

Commit

Permalink
simplify FeatureList component
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Mar 13, 2024
1 parent 1361e3e commit a0372c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/src/modules/components/FeatureList.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ const ListRoot = styled('ul')({
gap: 6,
});

export default function FeatureList(props) {
const { features } = props;

export default function FeatureList({ features }) {
return (
<ListRoot>
{features.map((feature, item) => (
Expand All @@ -37,4 +35,4 @@ export default function FeatureList(props) {
);
}

FeatureList.propTypes = {};
FeatureList.propTypes = {}; // do I need this given it's a JS file?

0 comments on commit a0372c6

Please sign in to comment.