75bde149cf
No memo required.
12 lines
348 B
JavaScript
12 lines
348 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectCanonicalUrlForUri } from 'redux/selectors/claims';
|
|
import { doToast } from 'redux/actions/notifications';
|
|
import ClaimUri from './view';
|
|
|
|
const select = (state, props) => ({
|
|
shortUrl: selectCanonicalUrlForUri(state, props.uri),
|
|
});
|
|
|
|
export default connect(select, {
|
|
doToast,
|
|
})(ClaimUri);
|