Fixes infinite loop
parent
1c4d2fae56
commit
a0296b8ccb
|
@ -49,7 +49,8 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
|
||||||
embedIframeWidth = e.detail.data.iframeWidth as number;
|
embedIframeWidth = e.detail.data.iframeWidth as number;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [date, isEmbed]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [isEmbed]);
|
||||||
|
|
||||||
const eventName = props.booking.title;
|
const eventName = props.booking.title;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue