13 lines
493 B
JavaScript
13 lines
493 B
JavaScript
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';
|
|
|
|
const select = (state) => ({
|
|
balance: selectBalance(state),
|
|
totalRewardValue: selectUnclaimedRewardValue(state),
|
|
fetchingChannels: selectFetchingMyChannels(state),
|
|
});
|
|
|
|
export default connect(select, null)(PublishPage);
|