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' },