Merged in fix/booking-flow-eslint-fix (pull request #3342)

fix: Upgrade booking-flow eslint config

* Upgrade booking-flow eslint config


Approved-by: Bianca Widstam
This commit is contained in:
Anton Gunnarsson
2025-12-12 11:40:45 +00:00
parent 92391fdbd7
commit 3e3b15940f
23 changed files with 61 additions and 64 deletions

View File

@@ -40,6 +40,7 @@ function useBookingErrorAlert() {
const selectRateReturnUrl = getSelectRateReturnUrl()
useEffect(() => {
// eslint-disable-next-line react-hooks/set-state-in-effect
setShowAlert(!!errorCode)
}, [errorCode])