From 6771960e9eecbbcd162e3a38aa0c51512a0571f7 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 17 May 2022 10:52:45 -0600 Subject: [PATCH] Fixes infinite loop --- apps/web/ee/components/stripe/PaymentPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/ee/components/stripe/PaymentPage.tsx b/apps/web/ee/components/stripe/PaymentPage.tsx index 58852d28b9..b68fdbbc50 100644 --- a/apps/web/ee/components/stripe/PaymentPage.tsx +++ b/apps/web/ee/components/stripe/PaymentPage.tsx @@ -49,7 +49,8 @@ const PaymentPage: FC = (props) => { embedIframeWidth = e.detail.data.iframeWidth as number; }); } - }, [date, isEmbed]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [isEmbed]); const eventName = props.booking.title;