Payment method update
This commit is contained in:
@@ -5,6 +5,7 @@ import { PAYMENT_METHOD_ICONS, PaymentMethodEnum } from "@/constants/booking"
|
||||
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||
import { trackUpdatePaymentMethod } from "@/utils/tracking"
|
||||
|
||||
import { PaymentOptionProps } from "./paymentOption"
|
||||
|
||||
@@ -28,6 +29,7 @@ export default function PaymentOption({
|
||||
type="radio"
|
||||
id={value}
|
||||
value={value}
|
||||
onClick={() => trackUpdatePaymentMethod("", value)}
|
||||
{...register(name, registerOptions)}
|
||||
/>
|
||||
<span className={styles.radio} />
|
||||
|
||||
@@ -7,4 +7,5 @@ export interface PaymentOptionProps {
|
||||
cardNumber?: string
|
||||
registerOptions?: RegisterOptions
|
||||
onChange?: () => void
|
||||
hotelId: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user