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

11 lines
357 B
JavaScript
Raw Normal View History

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