lbry-desktop/ui/page/publish/index.js
2019-11-11 13:27:29 -05:00

14 lines
349 B
JavaScript

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