Skip to content

Commit 3df49a1

Browse files
committed
fix: GPS toggle could blank out current row
1 parent 06df423 commit 3df49a1

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/MapToggles.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,6 @@ export function getToggleHandlers({
181181
center: rawLocationLatLng,
182182
radius: accuracy,
183183
});
184-
window.google.maps.event.addListener(circ, "mouseover", () => {
185-
setFeaturedObject({
186-
rawlocationaccuracy: lastLocation.rawlocationaccuracy,
187-
locationsensor: lastLocation.locationsensor,
188-
});
189-
});
190184
return circ;
191185
}
192186
}),

src/MapToggles.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ describe("getVisibleToggles", () => {
4848
expect(getVisibleToggles(null)).toEqual([]);
4949
expect(getVisibleToggles(undefined)).toEqual([]);
5050
});
51-
});
51+
});

0 commit comments

Comments
 (0)