fix(SW-696): remove redundant filter, add translation
This commit is contained in:
@@ -92,9 +92,6 @@ export default function SurprisesNotification({
|
||||
return coupons
|
||||
})
|
||||
.flat()
|
||||
.filter(
|
||||
(coupon): coupon is { rewardId: string; couponCode: string } => !!coupon
|
||||
)
|
||||
|
||||
unwrap.mutate(updates)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user