lbry-desktop/ui/component/viewers/appViewer/index.js

13 lines
407 B
JavaScript
Raw Normal View History

2019-08-06 05:25:33 +02:00
import { connect } from 'react-redux';
import { makeSelectClaimForUri, makeSelectContentTypeForUri } from 'redux/selectors/claims';
2019-08-06 05:25:33 +02:00
import AppViewer from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
contentType: makeSelectContentTypeForUri(props.uri)(state),
});
const perform = (dispatch) => ({});
2019-08-06 05:25:33 +02:00
export default connect(select, perform)(AppViewer);