chore(leaflet-js-intg): refactor

This commit is contained in:
dancingCycle 2023-09-21 13:57:04 +02:00
parent 5883681393
commit 132bf5dd82
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import React, { useEffect, useRef, useState } from 'react'
import L from 'leaflet'
import "leaflet/dist/leaflet.css";
import icon from "leaflet/dist/images/marker-icon.png";
import iconShadow from "leaflet/dist/images/marker-shadow.png";

View File

@ -18,7 +18,7 @@
"build": "webpack --config config/webpack.prod.js"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@babel/core": "7.22.10",
"@babel/preset-env": "7.21.4",
"@babel/preset-react": "7.18.6",
"babel-loader": "9.1.2",