fix(SW-449): Updated Date format to match current web
This commit is contained in:
@@ -25,8 +25,7 @@ export default function Form({ locations, type }: BookingWidgetFormProps) {
|
||||
type,
|
||||
})
|
||||
|
||||
const { formState, handleSubmit, register } =
|
||||
useFormContext<BookingWidgetSchema>()
|
||||
const { handleSubmit, register } = useFormContext<BookingWidgetSchema>()
|
||||
|
||||
function onSubmit(data: BookingWidgetSchema) {
|
||||
const locationData: Location = JSON.parse(decodeURIComponent(data.location))
|
||||
|
||||
Reference in New Issue
Block a user