Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix linter

Johnnyeaef04a0a02c
diff --git a/web/src/components/LeafletMap.tsx b/web/src/components/LeafletMap.tsx
index 083c387af..304b2c912 100644
--- a/web/src/components/LeafletMap.tsx
+++ b/web/src/components/LeafletMap.tsx
@@ -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() {