From bdbfb11f9ec5c667367f369df96d035bf55cc4b5 Mon Sep 17 00:00:00 2001 From: fairdataihub-bot Date: Thu, 10 Oct 2024 22:29:23 +0000 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20fix=20code=20style=20is?= =?UTF-8?q?sues=20with=20Prettier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/scripts/check-firewall/checkFirewall.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/scripts/check-firewall/checkFirewall.js b/src/renderer/src/scripts/check-firewall/checkFirewall.js index 09d8f4d0c..f373c19d4 100644 --- a/src/renderer/src/scripts/check-firewall/checkFirewall.js +++ b/src/renderer/src/scripts/check-firewall/checkFirewall.js @@ -6,10 +6,9 @@ import axios from "axios"; * Returns: true if the client is blocked by an external firewall, false otherwise. */ export const clientBlockedByExternalFirewall = async (url) => { - - // if the user doesnt have an internet connection they are not blocked by a firewall + // if the user doesnt have an internet connection they are not blocked by a firewall // A simplification but we check for internet elsewhere so this is okay here. - let internetConnection = navigator.onLine; + let internetConnection = navigator.onLine; if (!internetConnection) { return false; }