Merged in fix/STAY-73-opt-in-email (pull request #3028)
Fix/STAY-73 opt in email * fix: let user opt-in for modification email when adding ancillaries * fix: add toast when successfully removing an ancillary Approved-by: Erik Tiekstra Approved-by: Elin Svedin
This commit is contained in:
@@ -76,6 +76,13 @@ export default function RemoveButton({
|
||||
if (!data) {
|
||||
throw new Error()
|
||||
}
|
||||
toast.success(
|
||||
intl.formatMessage({
|
||||
id: "myStay.removeAncillary.success",
|
||||
defaultMessage:
|
||||
"The product has now been removed from your booking.",
|
||||
})
|
||||
)
|
||||
utils.booking.get.invalidate({
|
||||
refId: refId,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user