diff --git a/src/components/NoStakePoolsFound.js b/src/components/NoStakePoolsFound.js index 9d5efb9..899af9d 100644 --- a/src/components/NoStakePoolsFound.js +++ b/src/components/NoStakePoolsFound.js @@ -19,7 +19,7 @@ const Container = styled.div` } `; -function NoStakePoolsFound() { +function NoStakePoolsFound(): React$Node { return ( Staking Pools diff --git a/src/components/StakingPoolCard.js b/src/components/StakingPoolCard.js index f077597..c5da661 100644 --- a/src/components/StakingPoolCard.js +++ b/src/components/StakingPoolCard.js @@ -100,6 +100,7 @@ function StakingPoolCard({ id, bech, avatar, tickerName, name, links, fullname } rel="noreferrer noopener" > {tickerName ? <>[{tickerName}] : null} + {/* eslint-disable-next-line react/no-danger */} diff --git a/src/components/common/Tooltip.js b/src/components/common/Tooltip.js index a3a81ed..d475279 100644 --- a/src/components/common/Tooltip.js +++ b/src/components/common/Tooltip.js @@ -86,7 +86,12 @@ const WrapperToolTipRevamp = styled.div` } `; -function TooltipRevamp({ textInfo, children }: Props): Node { +type PropsRevamp = {| + children: Node, + textInfo: ?string, +|}; + +function TooltipRevamp({ textInfo, children }: PropsRevamp): Node { return ( {children}