lbry-desktop/ui/component/stripeAccountConnection/index.js
2021-07-17 13:19:33 -04:00

13 lines
443 B
JavaScript

import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import StripeAccountConnection from './view';
import { selectUser } from 'redux/selectors/user';
// function that receives state parameter and returns object of functions that accept state
const select = (state) => ({
user: selectUser(state),
});
// const perform = (dispatch) => ({});
export default withRouter(connect(select)(StripeAccountConnection));