diff --git a/frontend/src/components/Peers/index.js b/frontend/src/components/Peers/index.js index 8cae2c95..d8dae7bc 100644 --- a/frontend/src/components/Peers/index.js +++ b/frontend/src/components/Peers/index.js @@ -61,6 +61,14 @@ const Peers = (props) => { return 'IPV4'; }; + const getExternalAddressStr = () => { + if (externalAddress) { + return `${externalAddress.getHost()}:${externalAddress.getPort()}`; + } else { + return ''; + } + }; + function removeHttp(url) { return url.replace(/^https?:\/\//, ''); } @@ -119,12 +127,12 @@ const Peers = (props) => {
-