Skip to content

Commit

Permalink
fix: Removed '#' character for icons with no tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Pinedo committed Sep 26, 2022
1 parent 228cb9d commit bbabc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stories/components/FilteredGallery/FilteredGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const FilteredGallery: React.FC<FilteredGallery> = ({ icons }) => {
search={searchText}
icons={filteredIcons.map((key) => ({
key,
tags: tags[key].split(','),
tags: tags[key] === '' ? [] : tags[key].split(','),
Component: icons[key],
}))}
/>
Expand Down

0 comments on commit bbabc9a

Please sign in to comment.