lbry-desktop/ui/component/postViewer/index.js
2021-03-11 14:12:59 -05:00

9 lines
260 B
JavaScript

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