From d63355f6ab86edccc2df517a755b2b38f2e832a7 Mon Sep 17 00:00:00 2001 From: Avi Date: Thu, 17 Feb 2022 09:16:51 +0200 Subject: [PATCH] Fixed import --- package-lock.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1fac276..fc015f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-leaflet-google-layer", - "version": "2.0.4", + "version": "2.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/index.ts b/src/index.ts index 382e37a..c60176d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,7 @@ import * as React from 'react'; import * as L from 'leaflet'; import { createLayerComponent, updateGridLayer, LeafletContextInterface, LayerProps } from '@react-leaflet/core'; -import 'leaflet.gridlayer.googlemutant'; +import 'leaflet.gridlayer.googlemutant/dist/Leaflet.GoogleMutant'; import { Loader, LoaderOptions } from '@googlemaps/js-api-loader';