diff --git a/components/Maps/StaticMap/index.tsx b/components/Maps/StaticMap/index.tsx
index 8d481858d..34c39c657 100644
--- a/components/Maps/StaticMap/index.tsx
+++ b/components/Maps/StaticMap/index.tsx
@@ -1,5 +1,4 @@
-import Image from "@/components/Image"
-
+/* eslint-disable @next/next/no-img-element */
import { StaticMapProps } from "@/types/components/maps/staticMap/staticMap"
export default function StaticMap({
@@ -12,13 +11,5 @@ export default function StaticMap({
const apiKey = process.env.NEXT_PUBLIC_GOOGLE_STATIC_MAP_KEY
const mapUrl = `https://maps.googleapis.com/maps/api/staticmap?center=${city}&zoom=${zoomLevel}&size=${width}x${height}&maptype=${mapType}&key=${apiKey}`
- return (
-
- )
+ return
}
diff --git a/next.config.js b/next.config.js
index 037649b65..60e5a38d9 100644
--- a/next.config.js
+++ b/next.config.js
@@ -41,11 +41,6 @@ const nextConfig = {
protocol: "https",
hostname: "imagevault.scandichotels.com",
},
- {
- protocol: "https",
- hostname: "maps.googleapis.com",
- pathname: "/maps/api/staticmap?**",
- },
],
},