diff --git a/src/renderer/page/show/view.jsx b/src/renderer/page/show/view.jsx index ba96725aa..a76abdbf8 100644 --- a/src/renderer/page/show/view.jsx +++ b/src/renderer/page/show/view.jsx @@ -42,17 +42,22 @@ class ShowPage extends React.PureComponent { let innerContent = ''; - if ((isResolvingUri && !claim) || !claim) { + if (isResolvingUri || !claim || !claim.name) { + if (claim && !claim.name) { + // While testing the normalization changes, Brannon found that `name` was missing sometimes + // This shouldn't happen, so hopefully this helps track it down + console.error('No name for associated claim: ', claim.claim_id); + } + innerContent = ( {isResolvingUri && } - {claim === null && - !isResolvingUri && ( - {__("There's nothing at this location.")} - )} + {!isResolvingUri && ( + {__("There's nothing available at this location.")} + )} ); - } else if (claim && claim.name.length && claim.name[0] === '@') { + } else if (claim.name.length && claim.name[0] === '@') { innerContent = ; } else if (claim && blackListedOutpoints) { let isClaimBlackListed = false;