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

13 lines
344 B
JavaScript
Raw Normal View History

2019-07-08 20:58:33 +02:00
import { connect } from 'react-redux';
import { makeSelectCanonicalUrlForUri } from 'lbry-redux';
import { doToast } from 'redux/actions/notifications';
2019-07-08 20:58:33 +02:00
import ClaimUri from './view';
const select = (state, props) => ({
shortUrl: makeSelectCanonicalUrlForUri(props.uri)(state),
2019-07-08 20:58:33 +02:00
});
export default connect(select, {
doToast,
})(ClaimUri);