Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbenns committed Aug 26, 2023
1 parent e912709 commit 0b1860f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function App() {
// Does result in flash though on initial load.
const removeLabels = (map: mapboxgl.Map) => {
map.getStyle().layers.forEach((l) => {
if (l.type == "symbol") {
if (l.type === "symbol") {
map.setLayoutProperty(l.id, "visibility", "none");
}
});
Expand Down

0 comments on commit 0b1860f

Please sign in to comment.