Fixes infinite loop
This commit is contained in:
1 parent
3b1dff3b83
commit
6771960e9e
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user