2017-12-21 18:08:54 -03:00
|
|
|
import { connect } from 'react-redux';
|
2019-06-28 03:27:55 -04:00
|
|
|
import { selectBalance } from 'lbry-redux';
|
2019-04-03 00:17:00 -04:00
|
|
|
import { selectUnclaimedRewardValue } from 'lbryinc';
|
2017-12-21 18:08:54 -03:00
|
|
|
import PublishPage from './view';
|
2017-05-02 15:21:00 +07:00
|
|
|
|
2018-09-24 20:17:08 -04:00
|
|
|
const select = state => ({
|
|
|
|
balance: selectBalance(state),
|
2019-04-03 00:17:00 -04:00
|
|
|
totalRewardValue: selectUnclaimedRewardValue(state),
|
2018-09-24 20:17:08 -04:00
|
|
|
});
|
2017-05-02 15:21:00 +07:00
|
|
|
|
2018-06-12 01:11:17 -04:00
|
|
|
export default connect(
|
|
|
|
select,
|
2019-06-28 03:27:55 -04:00
|
|
|
null
|
2018-06-12 01:11:17 -04:00
|
|
|
)(PublishPage);
|