summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/Map.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/renderer/components/Map.tsx b/gui/src/renderer/components/Map.tsx
index 859328daba..b7758b2e7f 100644
--- a/gui/src/renderer/components/Map.tsx
+++ b/gui/src/renderer/components/Map.tsx
@@ -33,6 +33,10 @@ export default function Map() {
return hasLocationValue ? connection : defaultLocation;
}, [hasLocationValue, connection.latitude, connection.longitude]);
+ if (window.env.e2e) {
+ return null;
+ }
+
const connectionState = getConnectionState(hasLocationValue, connection.status.state);
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;