lbry-desktop/ui/page/settingsStripeAccount/index.js

14 lines
443 B
JavaScript
Raw Normal View History

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),
});
2021-07-17 18:08:53 +02:00
// const perform = (dispatch) => ({});
2021-07-17 18:08:53 +02:00
export default withRouter(connect(select)(StripeAccountConnection));