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

15 lines
308 B
JavaScript
Raw Normal View History

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