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

9 lines
263 B
JavaScript
Raw Normal View History

2020-03-14 17:07:36 +01:00
import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'lbry-redux';
import FileSubtitle from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select)(FileSubtitle);