diff --git a/package.json b/package.json index 2f72356..60f0f42 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "static": "next build && next export" }, "dependencies": { - "@capacitor-community/background-geolocation": "felixerdy/background-geolocation#master", + "@capacitor-community/background-geolocation": "felixerdy/background-geolocation", "@capacitor-community/bluetooth-le": "^3.0.1", "@capacitor/android": "^5.3.0", "@capacitor/core": "^5.3.0", diff --git a/src/components/Map/LocationMarker.tsx b/src/components/Map/LocationMarker.tsx index 407a4ad..4aecb43 100644 --- a/src/components/Map/LocationMarker.tsx +++ b/src/components/Map/LocationMarker.tsx @@ -1,6 +1,6 @@ import { Location } from '@capacitor-community/background-geolocation' -import Layer from 'react-map-gl/dist/esm/components/layer' -import Source from 'react-map-gl/dist/esm/components/source' +import { Source, Layer } from 'react-map-gl/maplibre' + // @ts-ignore import circle from '@turf/circle' diff --git a/yarn.lock b/yarn.lock index 5a3e647..ba628c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ dependencies: regenerator-runtime "^0.14.0" -"@capacitor-community/background-geolocation@felixerdy/background-geolocation#master": +"@capacitor-community/background-geolocation@felixerdy/background-geolocation": version "1.2.14" resolved "https://codeload.github.com/felixerdy/background-geolocation/tar.gz/a61469d2d6b9607299a4b5b9e343367797d20759"