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

@@ -101,13 +101,6 @@ export function createDetailsStore(
})
)
},
updateValidity(property, isValid) {
return set(
produce((state: DetailsState) => {
state.isValid[property] = isValid
})
)
},
},
data: merge(