Skip to content

Commit

Permalink
chore: review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OgDev-01 committed Apr 18, 2023
1 parent 8226832 commit 9afe063
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions components/molecules/FilterCardSelect/filter-card-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,28 +74,8 @@ const FilterCardSelect: React.FC<FilterCardSelectProps> = ({
<Image
width={14}
height={14}
alt={
icon === "topic"
? icons.topic.alt
: icon === "org"
? icons.org.alt
: icon === "contributor"
? icons.contributor.alt
: icon === "repo"
? icons.repo.alt
: "Icon"
}
src={
icon === "topic"
? icons.topic.src
: icon === "org"
? icons.org.src
: icon === "contributor"
? icons.contributor.src
: icon === "repo"
? icons.repo.src
: icons.topic.src
}
alt={icons[icon] ? icons[icon].alt : "Icons"}
src={icons[icon] ? icons[icon].src : icons.topic.src}
/>
<Text className="!text-sm font-semibold tracking-tight !text-slate-900">{filterName}</Text>
</button>
Expand Down

0 comments on commit 9afe063

Please sign in to comment.