Skip to content

Commit

Permalink
Corrige componente Tags para lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samoel-silva committed Nov 30, 2024
1 parent 9324f2e commit 54337fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ const Tags = ({ tags }) => {
<Container narrow className="tags">
<Icon name={tagSVG} />
{parsedTags.map((tag, i) => (
<>
<React.Fragment key={tag.id}>
<Link className="ui tag" key={tag} to={`/search?Subject=${tag}`}>
{tag}
</Link>
{parsedTags.length > i + 1 && <span className="divider">,</span>}
</>
</React.Fragment>
))}
</Container>
) : (
Expand Down

0 comments on commit 54337fb

Please sign in to comment.