Rename interface name

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

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

Loading…
Cancel
Save