Rename interface name

pull/1631/head
Lucas Phang 4 years ago
parent 56bd22fd76
commit 2f3dbb5be4

@ -11,12 +11,12 @@ interface Props {
onClose: any; onClose: any;
} }
interface Node { interface IPathNode {
ip?: string; ip?: string;
label: string; label: string;
} }
const OnionPath = (props: { nodes: Node[] }) => { const OnionPath = (props: { nodes: IPathNode[] }) => {
const { nodes } = props; const { nodes } = props;
return ( return (
@ -51,7 +51,7 @@ export const OnionStatusDialog = (props: Props) => {
shell.openExternal('https://getsession.org/faq/#onion-routing'); shell.openExternal('https://getsession.org/faq/#onion-routing');
} }
const nodes: Node[] = [ const nodes: IPathNode[] = [
{ {
label: 'You' label: 'You'
}, },

Loading…
Cancel
Save