feat: adjust select rate ui to latest design
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import { nullableStringValidator } from "@/utils/zod/stringValidator"
|
||||
|
||||
import type { PaymentMethodEnum } from "@/constants/booking"
|
||||
|
||||
export const merchantInformationSchema = z.object({
|
||||
@@ -17,5 +19,5 @@ export const merchantInformationSchema = z.object({
|
||||
.map(([key]) => key)
|
||||
.filter((key): key is PaymentMethodEnum => !!key)
|
||||
}),
|
||||
webMerchantId: z.string().optional(),
|
||||
webMerchantId: nullableStringValidator,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user