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

14 lines
493 B
JavaScript
Raw Permalink Normal View History

import { connect } from 'react-redux';
import { selectFetchingMyChannels } from 'redux/selectors/claims';
import { selectBalance } from 'redux/selectors/wallet';
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
import PublishPage from './view';
2017-05-02 10:21:00 +02:00
const select = (state) => ({
2018-09-25 02:17:08 +02:00
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);