Skip to content

Commit

Permalink
chore(supernova): make filterItems optional
Browse files Browse the repository at this point in the history
Co-authored-by: Guoda <[email protected]>
  • Loading branch information
TilmanHaupt and guoda-puidokaite authored Nov 14, 2024
1 parent 0c6343b commit 8e0d84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/supernova/src/components/filters/FilterPills.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const FilterPills = () => {
<Stack gap="2" wrap={true}>
{Object.entries(activeFilters).map(([key, filterItems]) => {
if (Array.isArray(filterItems)) {
return filterItems.map((item) =>
return filterItems?.map((item) =>
pausedFilters[key]?.includes(item) ? (
<Pill
className="bg-theme-background-lvl-4 opacity-70 "
Expand Down

0 comments on commit 8e0d84e

Please sign in to comment.