From 06c7f6f6e17ce089800ea4ba14ee02924a040223 Mon Sep 17 00:00:00 2001
From: Yuval Adam <_@yuv.al>
Date: Mon, 29 Aug 2022 11:15:12 +0300
Subject: Remove unused geolocation func

---
 src/Geshem.tsx | 19 -------------------
 1 file changed, 19 deletions(-)

(limited to 'src/Geshem.tsx')

diff --git a/src/Geshem.tsx b/src/Geshem.tsx
index 5fda053..a74af61 100644
--- a/src/Geshem.tsx
+++ b/src/Geshem.tsx
@@ -76,23 +76,4 @@ function Geshem({ date }: GeshemProps) {
   );
 }
 
-function getGeolocation() {
-  if (navigator.geolocation) {
-    navigator.geolocation.getCurrentPosition(pos => {
-      const { longitude, latitude } = pos.coords;
-      this.setState({
-        lng: longitude,
-        lat: latitude,
-        zoom: 11
-      });
-      if (this.state.mapLoaded) {
-        this.map.jumpTo({
-          center: [longitude, latitude],
-          zoom: 11
-        });
-      }
-    });
-  }
-}
-
 export default App;
-- 
cgit v1.3.1

