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