lbry-desktop/ui/component/claimPreviewTitle/index.js
seanyesmunt 4420983a79 cleanup
2020-03-19 12:12:19 -04:00

10 lines
347 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectClaimForUri, makeSelectTitleForUri } from 'lbry-redux';
import ClaimPreviewTitle from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
title: makeSelectTitleForUri(props.uri)(state),
});
export default connect(select)(ClaimPreviewTitle);