allow vanity urls in embeds

This commit is contained in:
Sean Yesmunt 2020-06-12 17:23:16 -04:00
parent 864d35d9e9
commit abc7b1298d

View file

@ -14,7 +14,7 @@ const select = (state, props) => {
const { match } = props;
const { params } = match;
const { claimName, claimId } = params;
const uri = claimName && claimId ? buildURI({ claimName, claimId }) : '';
const uri = claimName ? buildURI({ claimName, claimId }) : '';
return {
uri,
claim: makeSelectClaimForUri(uri)(state),