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

12 lines
359 B
JavaScript
Raw Permalink Normal View History

import { connect } from 'react-redux';
import { selectBalance } from 'lbry-redux';
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
import PublishPage from './view';
2017-05-02 10:21:00 +02:00
2018-09-25 02:17:08 +02:00
const select = state => ({
balance: selectBalance(state),
totalRewardValue: selectUnclaimedRewardValue(state),
2018-09-25 02:17:08 +02:00
});
2017-05-02 10:21:00 +02:00
export default connect(select, null)(PublishPage);