From 2f3dbb5be42f471340f0bf47dfc6208303ce2715 Mon Sep 17 00:00:00 2001 From: Lucas Phang Date: Fri, 14 May 2021 15:46:23 +1000 Subject: [PATCH] Rename interface name --- ts/components/OnionStatusDialog.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/components/OnionStatusDialog.tsx b/ts/components/OnionStatusDialog.tsx index 633bab27e..9d423ca18 100644 --- a/ts/components/OnionStatusDialog.tsx +++ b/ts/components/OnionStatusDialog.tsx @@ -11,12 +11,12 @@ interface Props { onClose: any; } -interface Node { +interface IPathNode { ip?: string; label: string; } -const OnionPath = (props: { nodes: Node[] }) => { +const OnionPath = (props: { nodes: IPathNode[] }) => { const { nodes } = props; return ( @@ -51,7 +51,7 @@ export const OnionStatusDialog = (props: Props) => { shell.openExternal('https://getsession.org/faq/#onion-routing'); } - const nodes: Node[] = [ + const nodes: IPathNode[] = [ { label: 'You' },