Merged in fix/SW-2887-complete-booking-button-always-enabled (pull request #2227)

fix(SW-2887): don't disable the booking button
The complete button shouldn’t be disabled based on validation. This was already correct in desktop, but now it’s also correct in mobile.

* fix(SW-2887): don't disable the booking button


Approved-by: Tobias Johansson
Approved-by: Christian Andolf
This commit is contained in:
Niclas Edenvin
2025-05-28 08:11:29 +00:00
parent 76e377d5d5
commit 1d733c5ca3
4 changed files with 9 additions and 39 deletions

View File

@@ -85,7 +85,6 @@ export type InitialState = {
export interface DetailsState {
actions: {
setIsSubmittingDisabled: (isSubmittingDisabled: boolean) => void
setIsSubmitting: (isSubmitting: boolean) => void
setTotalPrice: (totalPrice: Price) => void
toggleSummaryOpen: () => void
@@ -96,7 +95,6 @@ export interface DetailsState {
booking: SelectRateSearchParams
breakfastPackages: BreakfastPackages
canProceedToPayment: boolean
isSubmittingDisabled: boolean
isSubmitting: boolean
isSummaryOpen: boolean
lastRoom: number