diff --git a/ui/component/claimMenuList/index.js b/ui/component/claimMenuList/index.js index 30e114eaf..bf0a0e514 100644 --- a/ui/component/claimMenuList/index.js +++ b/ui/component/claimMenuList/index.js @@ -50,7 +50,7 @@ const select = (state, props) => { hasClaimInCustom: makeSelectCollectionForIdHasClaimUrl(COLLECTIONS_CONSTS.FAVORITES_ID, contentPermanentUri)(state), channelIsMuted: makeSelectChannelIsMuted(contentChannelUri)(state), channelIsBlocked: makeSelectChannelIsBlocked(contentChannelUri)(state), - fileInfo: makeSelectFileInfoForUri(props.uri)(state), + fileInfo: makeSelectFileInfoForUri(contentPermanentUri)(state), isSubscribed: makeSelectIsSubscribed(contentChannelUri, true)(state), channelIsAdminBlocked: makeSelectChannelIsAdminBlocked(props.uri)(state), isAdmin: selectHasAdminChannel(state), diff --git a/ui/component/claimMenuList/view.jsx b/ui/component/claimMenuList/view.jsx index 2a9d930a6..0b939360d 100644 --- a/ui/component/claimMenuList/view.jsx +++ b/ui/component/claimMenuList/view.jsx @@ -378,16 +378,17 @@ function ClaimMenuList(props: Props) { )} - {showDelete && ( - -
- - {__('Delete')} -
-
- )} )} + + {showDelete && ( + +
+ + {__('Delete')} +
+
+ )} )}