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

10 lines
284 B
JavaScript
Raw Normal View History

2019-06-27 22:27:38 +02:00
import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'redux/selectors/claims';
2019-06-27 22:27:38 +02:00
import VideoDuration from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select, null)(VideoDuration);