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

10 lines
260 B
JavaScript
Raw Normal View History

2021-03-11 18:08:11 +01:00
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);