@shopgate/engage
Version:
Shopgate's ENGAGE library.
6 lines • 381 B
JavaScript
import{connect}from'react-redux';import{getStripePublishableKey}from'@shopgate/engage/checkout/selectors/payment';/**
* @returns {Function}
*/function makeMapStateToProps(){/**
* @param {Object} state The application state.
* @returns {Object}
*/return function(state){return{publishableKey:getStripePublishableKey(state)};};}export default connect(makeMapStateToProps);