Commit eaef04a0 authored by Johnny's avatar Johnny

chore: fix linter

parent d236ef16
...@@ -111,7 +111,7 @@ const ControlButtons = ({ position, onZoomIn, onZoomOut, onOpenGoogleMaps }: Con ...@@ -111,7 +111,7 @@ const ControlButtons = ({ position, onZoomIn, onZoomOut, onOpenGoogleMaps }: Con
// Custom Leaflet Control class // Custom Leaflet Control class
class MapControlsContainer extends L.Control { class MapControlsContainer extends L.Control {
private container: HTMLDivElement | null = null; private container: HTMLDivElement | undefined = undefined;
onAdd() { onAdd() {
this.container = L.DomUtil.create("div", ""); this.container = L.DomUtil.create("div", "");
...@@ -125,7 +125,7 @@ class MapControlsContainer extends L.Control { ...@@ -125,7 +125,7 @@ class MapControlsContainer extends L.Control {
} }
onRemove() { onRemove() {
this.container = null; this.container = undefined;
} }
getContainer() { getContainer() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment