diff --git a/ui/js/component/channelTile/view.jsx b/ui/js/component/channelTile/view.jsx index 942c9e1f5..512389f0c 100644 --- a/ui/js/component/channelTile/view.jsx +++ b/ui/js/component/channelTile/view.jsx @@ -19,7 +19,12 @@ class ChannelTile extends React.PureComponent { render() { const { claim, navigate, isResolvingUri, totalItems, uri } = this.props; - const { name, claim_id } = claim; + let channelName, channelId; + + if (claim) { + channelName = claim.name; + channelId = claim.claim_id; + } let onClick = () => navigate("/show", { uri }); @@ -27,11 +32,11 @@ class ChannelTile extends React.PureComponent {
- + {channelName && }

- {claim.name} + {channelName || uri}