Skip to content

Commit 19c40c3

Browse files
committed
Merge branch 'disable-map-in-e2e-tests'
2 parents 3bea8ae + ef69732 commit 19c40c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gui/src/renderer/components/Map.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export default function Map() {
3333
return hasLocationValue ? connection : defaultLocation;
3434
}, [hasLocationValue, connection.latitude, connection.longitude]);
3535

36+
if (window.env.e2e) {
37+
return null;
38+
}
39+
3640
const connectionState = getConnectionState(hasLocationValue, connection.status.state);
3741

3842
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;

0 commit comments

Comments
 (0)