From 44055cbcde7ddcb4c9bbbd44a64d648be3937f6c Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 15 Aug 2020 16:37:25 +0200 Subject: [PATCH] Remove link tooltips (#3424) * Remove link tooltips * Convert to a title --- packages/react-components/src/LinkExternal.tsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/react-components/src/LinkExternal.tsx b/packages/react-components/src/LinkExternal.tsx index f3786935c0..19b4fb43d4 100644 --- a/packages/react-components/src/LinkExternal.tsx +++ b/packages/react-components/src/LinkExternal.tsx @@ -11,7 +11,6 @@ import linked from '@polkadot/apps-config/links'; import { useApi } from '@polkadot/react-hooks'; import { useTranslation } from './translate'; -import Tooltip from './Tooltip'; interface Props { className?: string; @@ -36,27 +35,18 @@ function genLinks (systemChain: string, { data, hash, type, withShort }: Props): return null; } - const trigger = `${name}-${type}-${data.toString()}`; - const link = create(extChain, extPath, data, hash); - return ( {withShort ? shortName(name) : name } - {name}
{url}} - trigger={trigger} - />
); })