fix(SW-696): remove redundant filter, add translation

This commit is contained in:
Christian Andolf
2024-11-19 09:12:54 +01:00
parent e294d39fdf
commit 848338248f
2 changed files with 5 additions and 4 deletions

View File

@@ -92,9 +92,6 @@ export default function SurprisesNotification({
return coupons
})
.flat()
.filter(
(coupon): coupon is { rewardId: string; couponCode: string } => !!coupon
)
unwrap.mutate(updates)
}