woocommerce/plugins/woocommerce-blocks/assets/js/base/hooks/checkout/use-checkout-place-order-la...

10 lines
240 B
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import useCheckoutContext from '@woocommerce/base-context/checkout-context';
export const useCheckoutPlaceOrderLabel = () => {
const { placeOrderLabel } = useCheckoutContext();
return placeOrderLabel;
};