diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/PaymentClient.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/PaymentClient.tsx index c0ac15f3d..50acdadd4 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/PaymentClient.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/PaymentClient.tsx @@ -275,7 +275,14 @@ export default function PaymentClient({ } else if (bookingStatus.isTimeout) { handlePaymentError("Timeout") } - }, [bookingStatus, router, intl, lang, handlePaymentError]) + }, [ + bookingStatus.data, + bookingStatus.isTimeout, + router, + intl, + lang, + handlePaymentError, + ]) useEffect(() => { setIsSubmittingDisabled(