Skip to content

Commit eaef04a

Browse files
committed
chore: fix linter
1 parent d236ef1 commit eaef04a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/LeafletMap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const ControlButtons = ({ position, onZoomIn, onZoomOut, onOpenGoogleMaps }: Con
111111

112112
// Custom Leaflet Control class
113113
class MapControlsContainer extends L.Control {
114-
private container: HTMLDivElement | null = null;
114+
private container: HTMLDivElement | undefined = undefined;
115115

116116
onAdd() {
117117
this.container = L.DomUtil.create("div", "");
@@ -125,7 +125,7 @@ class MapControlsContainer extends L.Control {
125125
}
126126

127127
onRemove() {
128-
this.container = null;
128+
this.container = undefined;
129129
}
130130

131131
getContainer() {

0 commit comments

Comments
 (0)