Skip to content

Commit

Permalink
Change keys
Browse files Browse the repository at this point in the history
  • Loading branch information
RunarVestmann committed Jun 5, 2024
1 parent 71c1e91 commit e35c765
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions apps/web/screens/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,11 @@ const Search: Screen<CategoryProps> = ({
</Text>
<Inline space={1} alignY="center">
{filterTags.map((tag) => (
<FilterTag active={true} onClick={tag.onClick}>
<FilterTag
key={tag.label}
active={true}
onClick={tag.onClick}
>
{tag.label}
</FilterTag>
))}
Expand All @@ -627,9 +631,9 @@ const Search: Screen<CategoryProps> = ({
)}
{tagsList
.filter((x) => x.count > 0)
.map(({ title, key }, index) => (
.map(({ title, key }) => (
<Tag
key={index}
key={title}
variant="blue"
active={
query?.processentry !== 'true' &&
Expand Down

0 comments on commit e35c765

Please sign in to comment.