lbry-desktop/ui/component/claimPreviewTitle/index.js

11 lines
347 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2020-03-19 15:38:20 +01:00
import { makeSelectClaimForUri, makeSelectTitleForUri } from 'lbry-redux';
2020-01-30 23:25:15 +01:00
import ClaimPreviewTitle from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
title: makeSelectTitleForUri(props.uri)(state),
});
2020-01-30 23:25:15 +01:00
export default connect(select)(ClaimPreviewTitle);