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

13 lines
438 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { selectBalance, selectFetchingMyChannels } from 'lbry-redux';
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
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),
totalRewardValue: selectUnclaimedRewardValue(state),
fetchingChannels: selectFetchingMyChannels(state),
2018-09-24 20:17:08 -04:00
});
2017-05-02 15:21:00 +07:00
export default connect(select, null)(PublishPage);