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

13 lines
438 B
JavaScript
Raw Permalink 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 10:21:00 +02:00
2018-09-25 02:17:08 +02:00
const select = state => ({
balance: selectBalance(state),
totalRewardValue: selectUnclaimedRewardValue(state),
fetchingChannels: selectFetchingMyChannels(state),
2018-09-25 02:17:08 +02:00
});
2017-05-02 10:21:00 +02:00
export default connect(select, null)(PublishPage);