Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix(advanced-filters): Address static analysis warning on forEach callback return value.

Pedro Ladeira47e11b6dc3ca
diff --git a/packages/ui/src/filter/filter-list.tsx b/packages/ui/src/filter/filter-list.tsx
index 5ba0aa5e13..6873877a04 100644
--- a/packages/ui/src/filter/filter-list.tsx
+++ b/packages/ui/src/filter/filter-list.tsx
@@ -624,7 +624,7 @@ function OperatorFilterPill({
if (onRemoveFilter) {
onRemoveFilter(filterKey);
} else {
- values.forEach(value => onRemove(filterKey, value));
+ values.forEach((value) => { onRemove(filterKey, value); });
}
}}
>