mirror of https://github.com/usememos/memos.git
chore: fix linter
This commit is contained in:
parent
d236ef1611
commit
eaef04a0a0
|
|
@ -111,7 +111,7 @@ const ControlButtons = ({ position, onZoomIn, onZoomOut, onOpenGoogleMaps }: Con
|
|||
|
||||
// Custom Leaflet Control class
|
||||
class MapControlsContainer extends L.Control {
|
||||
private container: HTMLDivElement | null = null;
|
||||
private container: HTMLDivElement | undefined = undefined;
|
||||
|
||||
onAdd() {
|
||||
this.container = L.DomUtil.create("div", "");
|
||||
|
|
@ -125,7 +125,7 @@ class MapControlsContainer extends L.Control {
|
|||
}
|
||||
|
||||
onRemove() {
|
||||
this.container = null;
|
||||
this.container = undefined;
|
||||
}
|
||||
|
||||
getContainer() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue