2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-08 05:47:39 +02:00
|
|
|
import { selectFetchingMyChannels } from 'redux/selectors/claims';
|
|
|
|
import { selectBalance } from 'redux/selectors/wallet';
|
2020-06-15 22:33:03 +02:00
|
|
|
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
|
2017-12-21 22:08:54 +01:00
|
|
|
import PublishPage from './view';
|
2017-05-02 10:21:00 +02:00
|
|
|
|
2021-10-08 05:47:39 +02:00
|
|
|
const select = (state) => ({
|
2018-09-25 02:17:08 +02:00
|
|
|
balance: selectBalance(state),
|
2019-04-03 06:17:00 +02:00
|
|
|
totalRewardValue: selectUnclaimedRewardValue(state),
|
2021-02-11 06:12:41 +01:00
|
|
|
fetchingChannels: selectFetchingMyChannels(state),
|
2018-09-25 02:17:08 +02:00
|
|
|
});
|
2017-05-02 10:21:00 +02:00
|
|
|
|
2020-06-15 22:33:03 +02:00
|
|
|
export default connect(select, null)(PublishPage);
|