Merged in SW-3396-move-my-saved-cards-to-design-system (pull request #2762)
SW-3396 move my saved cards to design system * Move PaymentOption, PaymentOptionsGroup, PaymentIcons and MySavedCards (renamed SelectPaymentMethod) to design-system * Remove unused svg payment icons * cleanu * cleanup * trackUpdatePaymentMethod: remove hotelId argument that was never passed Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -9,11 +9,11 @@ function isPaymentFailEvent(event: PaymentEvent): event is PaymentFailEvent {
|
||||
return "errorMessage" in event
|
||||
}
|
||||
|
||||
export function trackUpdatePaymentMethod(hotelId: string, method: string) {
|
||||
export function trackUpdatePaymentMethod({ method }: { method: string }) {
|
||||
trackEvent({
|
||||
event: "paymentSelection",
|
||||
hotelInfo: {
|
||||
hotelId: hotelId,
|
||||
hotelId: "", // TODO: Needs to be verified with analytics if this should even be here
|
||||
},
|
||||
cta: {
|
||||
name: method,
|
||||
|
||||
Reference in New Issue
Block a user