Update apps/web/components/booking/pages/BookingPage.tsx

Co-authored-by: Omar López <zomars@me.com>
pull/6560/head
Hariom Balhara 2023-02-16 10:49:46 +05:30 committed by GitHub
parent 10d9886dcc
commit f50b4166f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }