lbry-desktop/ui/page/publish/index.js
2020-06-16 09:56:32 -04:00

11 lines
359 B
JavaScript

import { connect } from 'react-redux';
import { selectBalance } from 'lbry-redux';
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
import PublishPage from './view';
const select = state => ({
balance: selectBalance(state),
totalRewardValue: selectUnclaimedRewardValue(state),
});
export default connect(select, null)(PublishPage);