Remove the redundant scriptLoading.js file

This commit is contained in:
Daniel Dudzic 2024-09-14 00:37:00 +02:00
parent 75c808216c
commit cfa411078a
No known key found for this signature in database
GPG key ID: 31B40D33E3465483

View file

@ -1,9 +0,0 @@
import { loadPaypalScript } from '../../../../ppcp-button/resources/js/modules/Helper/ScriptLoading';
export const payPalScriptLoader = ( ppcpConfig, callback ) => {
console.log( 'Loading PayPal script' );
loadPaypalScript( ppcpConfig, () => {
console.log( 'PayPal script loaded' );
callback();
} );
};