Update apps/web/components/booking/pages/BookingPage.tsx
Co-authored-by: Omar López <zomars@me.com>pull/6560/head
parent
10d9886dcc
commit
f50b4166f5
|
@ -112,7 +112,7 @@ const BookingFields = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dynamically populate location field options
|
// Dynamically populate location field options
|
||||||
if (field.name === SystemField.Enum.location && field.type == "radioInput") {
|
if (field.name === SystemField.Enum.location && field.type === "radioInput") {
|
||||||
if (!field.optionsInputs) {
|
if (!field.optionsInputs) {
|
||||||
throw new Error("radioInput must have optionsInputs");
|
throw new Error("radioInput must have optionsInputs");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue