This commit is contained in:
saltrafael 2021-06-11 18:08:34 -03:00 committed by jessopb
parent 055811957b
commit 3aa7c754aa

View file

@ -87,7 +87,7 @@ function ClaimMenuList(props: Props) {
const showDelete = claimIsMine || (fileInfo && (fileInfo.written_bytes > 0 || fileInfo.blobs_completed > 0)); const showDelete = claimIsMine || (fileInfo && (fileInfo.written_bytes > 0 || fileInfo.blobs_completed > 0));
const subscriptionLabel = isSubscribed ? __('Unfollow') : __('Follow'); const subscriptionLabel = isSubscribed ? __('Unfollow') : __('Follow');
const { push } = useHistory(); const { push, replace } = useHistory();
if (!claim) { if (!claim) {
return null; return null;
} }