2018-09-12 12:42:15 -04:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { makeSelectClaimForUri } from 'lbry-redux';
|
|
|
|
import SocialShare from './view';
|
2020-01-14 15:44:07 -05:00
|
|
|
import { selectUserInviteReferralCode, selectUser } from 'lbryinc';
|
2018-09-12 12:42:15 -04:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
2020-01-14 15:44:07 -05:00
|
|
|
referralCode: selectUserInviteReferralCode(state),
|
|
|
|
user: selectUser(state),
|
2018-09-12 12:42:15 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(SocialShare);
|