From 6937d15c0dc2c040433f764a05a7708216c8f22e Mon Sep 17 00:00:00 2001 From: osito <74455114+blckbx@users.noreply.github.com> Date: Tue, 1 Feb 2022 21:40:49 +0100 Subject: [PATCH] ChannelTable: link peer's alias to amboss (#398) * link peer alias to amboss - Import getNodeLink from helpers - Set node link to peer's alias * import helpers only once Co-authored-by: Anthony Potdevin <31413433+apotdevin@users.noreply.github.com> --- src/client/src/views/channels/channels/ChannelTable.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client/src/views/channels/channels/ChannelTable.tsx b/src/client/src/views/channels/channels/ChannelTable.tsx index 348f774e..1571a123 100644 --- a/src/client/src/views/channels/channels/ChannelTable.tsx +++ b/src/client/src/views/channels/channels/ChannelTable.tsx @@ -3,7 +3,7 @@ import { ArrowDown, ArrowUp, Check, Circle } from 'react-feather'; import { toast } from 'react-toastify'; import { BalanceBars } from '../../../components/balance'; import { ColorButton } from '../../../components/buttons/colorButton/ColorButton'; -import { getChannelLink } from '../../../components/generic/helpers'; +import { getChannelLink, getNodeLink } from '../../../components/generic/helpers'; import { DarkSubTitle } from '../../../components/generic/Styled'; import { Link } from '../../../components/link/Link'; import { LoadingCard } from '../../../components/loading/LoadingCard'; @@ -227,7 +227,9 @@ export const ChannelTable = () => { Header: 'Peer', accessor: 'undercaseAlias', Cell: ({ row }: any) => ( -