Skip to content

Commit

Permalink
fix: Remove redundant key
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Jan 3, 2024
1 parent a4a1767 commit 114218b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Ecosystem/Projects/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,7 @@ export const Projects = ({ items }: BaseBlock): ReactElement => {
{uniquePrimaryCategories.map((primaryCategory, idx, { length }) => {
return (
<Fragment key={primaryCategory + idx}>
<SpecificCategoryFilter
key={primaryCategory + idx}
category={primaryCategory}
onClick={toggleSpecificCategory}
/>
<SpecificCategoryFilter category={primaryCategory} onClick={toggleSpecificCategory} />
{idx !== length - 1 && ', '}
</Fragment>
)
Expand Down

0 comments on commit 114218b

Please sign in to comment.