Do not load paypal sdk for continuation in block

This commit is contained in:
Alex P 2023-11-15 09:46:15 +02:00
parent 33ed474ae1
commit 3672c5a651
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -42,7 +42,7 @@ const PayPalComponent = ({
const [loaded, setLoaded] = useState(false);
useEffect(() => {
if (!loaded) {
if (!loaded && !config.scriptData.continuation) {
loadPaypalScript(config.scriptData, () => {
setLoaded(true);