From 9217b4cf236590427073b9cb22cacf71fbc267a3 Mon Sep 17 00:00:00 2001 From: Oskar Nyberg <oskar@mullvad.net> Date: Thu, 25 Apr 2024 14:53:56 +0200 Subject: [PATCH] Fix hostname line for custom bridge --- gui/src/renderer/components/ConnectionPanel.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gui/src/renderer/components/ConnectionPanel.tsx b/gui/src/renderer/components/ConnectionPanel.tsx index 4c709b7204ed..03e2753edebf 100644 --- a/gui/src/renderer/components/ConnectionPanel.tsx +++ b/gui/src/renderer/components/ConnectionPanel.tsx @@ -166,10 +166,6 @@ export default class ConnectionPanel extends React.Component<IProps> { entry: this.props.entryHostname, }, ); - } else if (this.props.bridgeInfo?.ip) { - hostname = sprintf(messages.pgettext('connection-info', '%(relay)s via %(entry)s'), { - relay: this.props.hostname, - }); } else if (this.props.bridgeInfo !== undefined) { hostname = sprintf(messages.pgettext('connection-info', '%(relay)s via Custom bridge'), { relay: this.props.hostname,