lbry-desktop/ui/component/livestreamLayout/index.js
2021-03-22 15:30:19 -07:00

10 lines
357 B
JavaScript

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