fix(sw-350): Fix issue where value where not updated

This commit is contained in:
Pontus Dreij
2024-11-04 15:49:13 +01:00
parent b69eda9b05
commit cac1a6891e
3 changed files with 13 additions and 12 deletions

View File

@@ -65,11 +65,7 @@ export default function Form({ locations, type }: BookingWidgetFormProps) {
id={formId}
>
<input {...register("location")} type="hidden" />
<FormContent
locations={locations}
formId={formId}
formState={formState}
/>
<FormContent locations={locations} formId={formId} />
</form>
</section>
)