12 lines
278 B
JavaScript
12 lines
278 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectClaimForUri } from 'lbry-redux';
|
|
import VideoDuration from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
null
|
|
)(VideoDuration);
|