From f4b099f69e82647edb5e6fc69655d82c4bc0b03d Mon Sep 17 00:00:00 2001 From: btzr-io Date: Wed, 5 Jun 2019 00:30:41 -0600 Subject: [PATCH] minor fixes for channel tooltip --- src/ui/component/channelLink/view.jsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/ui/component/channelLink/view.jsx b/src/ui/component/channelLink/view.jsx index abef07ab3..553e92855 100644 --- a/src/ui/component/channelLink/view.jsx +++ b/src/ui/component/channelLink/view.jsx @@ -120,8 +120,7 @@ class ChannelLink extends React.Component { const { channelName, claimName, claimId } = parseURI(uri); const blackListed = this.isClaimBlackListed(); const isReady = !blackListed && !isResolvingUri && claim !== null; - const tooltipReady = isReady && this.buttonRef.current !== null; - + const tooltipReady = this.buttonRef.current !== null; const bgColor = '#32373b'; const tooltipStyle = { @@ -129,10 +128,10 @@ class ChannelLink extends React.Component { arrowStyle: { color: bgColor }, }; - return isReady ? ( + return (