mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
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);
|