lbry-desktop/ui/component/claimUri/index.js
zeppi ee9f63a161 integrate all the things
bugfix

wip

flow

fix

cleaning

clean
2021-10-15 23:49:41 -04:00

12 lines
356 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectCanonicalUrlForUri } from 'redux/selectors/claims';
import { doToast } from 'redux/actions/notifications';
import ClaimUri from './view';
const select = (state, props) => ({
shortUrl: makeSelectCanonicalUrlForUri(props.uri)(state),
});
export default connect(select, {
doToast,
})(ClaimUri);