fix: make sure session storage is cleaner whenever user is no longer in the booking flow

This commit is contained in:
Simon Emanuelsson
2024-11-19 14:25:55 +01:00
parent 4d8bbfdd78
commit 1aeed2e9ca
6 changed files with 37 additions and 17 deletions

View File

@@ -12,7 +12,6 @@ export interface DetailsState {
updateBedType: (data: BedTypeSchema) => void
updateBreakfast: (data: BreakfastPackage | false) => void
updateDetails: (data: DetailsSchema) => void
updateValidity: (property: StepEnum, isValid: boolean) => void
}
data: DetailsSchema & {
bedType: BedTypeSchema | undefined