6443af34a0
- channelUrl to cached selector also using claimForUri cached selector
13 lines
321 B
JavaScript
13 lines
321 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectChannelForClaimUri } from 'redux/selectors/claims';
|
|
import ClaimAuthor from './view';
|
|
|
|
const select = (state, props) => {
|
|
const { uri } = props;
|
|
|
|
return {
|
|
channelUri: selectChannelForClaimUri(state, uri),
|
|
};
|
|
};
|
|
|
|
export default connect(select)(ClaimAuthor);
|