11 lines
359 B
JavaScript
11 lines
359 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectBalance } from 'lbry-redux';
|
|
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
|
|
import PublishPage from './view';
|
|
|
|
const select = state => ({
|
|
balance: selectBalance(state),
|
|
totalRewardValue: selectUnclaimedRewardValue(state),
|
|
});
|
|
|
|
export default connect(select, null)(PublishPage);
|