madiator.com/ui/page/repost/index.js
2021-08-16 12:11:25 +02:00

15 lines
346 B
JavaScript

import { connect } from 'react-redux';
import { doResolveUri, selectBalance } from 'lbry-redux';
import RepostPage from './view';
const select = (state, props) => ({
balance: selectBalance(state),
});
const perform = dispatch => ({
resolveUri: uri => dispatch(doResolveUri(uri)),
});
export default connect(select, perform)(RepostPage);