Skip to content

Scheduling infrastructure for absolutely everyone.

Fixes infinite loop

zomarsa0296b8ccbae
diff --git a/apps/web/ee/components/stripe/PaymentPage.tsx b/apps/web/ee/components/stripe/PaymentPage.tsx
index 58852d28b90..b68fdbbc50d 100644
--- a/apps/web/ee/components/stripe/PaymentPage.tsx
+++ b/apps/web/ee/components/stripe/PaymentPage.tsx
@@ -49,7 +49,8 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
embedIframeWidth = e.detail.data.iframeWidth as number;
});
}
- }, [date, isEmbed]);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [isEmbed]);
const eventName = props.booking.title;