Skip to content

Commit

Permalink
style: 🎨 fix code style issues with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
fairdataihub-bot committed Oct 10, 2024
1 parent ba37848 commit bdbfb11
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/renderer/src/scripts/check-firewall/checkFirewall.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bdbfb11

Please sign in to comment.