fix: correct npm package name to leaflet.gridlayer.googlemutant

This commit is contained in:
Logan
2026-05-25 13:44:31 -04:00
parent 6a9fe5d26f
commit 96bba45ffa
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import {
} from "react-leaflet"; } from "react-leaflet";
import { createLayerComponent } from "@react-leaflet/core"; import { createLayerComponent } from "@react-leaflet/core";
import L from "leaflet"; import L from "leaflet";
import "leaflet-google-mutant"; import "leaflet.gridlayer.googlemutant";
import type { CallRecord, IncidentRecord, NodeRecord } from "@/lib/types"; import type { CallRecord, IncidentRecord, NodeRecord } from "@/lib/types";
// ── Leaflet icon fix ────────────────────────────────────────────────────────── // ── Leaflet icon fix ──────────────────────────────────────────────────────────
+1 -1
View File
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: "standalone", output: "standalone",
transpilePackages: ["leaflet", "react-leaflet", "leaflet-google-mutant"], transpilePackages: ["leaflet", "react-leaflet", "leaflet.gridlayer.googlemutant"],
}; };
export default nextConfig; export default nextConfig;
+1 -1
View File
@@ -14,7 +14,7 @@
"react-dom": "^18.3.0", "react-dom": "^18.3.0",
"firebase": "^10.12.0", "firebase": "^10.12.0",
"leaflet": "^1.9.4", "leaflet": "^1.9.4",
"leaflet-google-mutant": "0.16.0", "leaflet.gridlayer.googlemutant": "0.16.0",
"react-leaflet": "^4.2.1" "react-leaflet": "^4.2.1"
}, },
"devDependencies": { "devDependencies": {