From c10af30ad47f6ca11ef18e446b73970b5b6234e8 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Fri, 7 Nov 2025 14:31:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 5 ----- src/components/Map/Map.css | 3 --- src/components/Map/Map.js | 28 ---------------------------- 3 files changed, 36 deletions(-) delete mode 100755 src/components/Map/Map.css delete mode 100755 src/components/Map/Map.js diff --git a/package.json b/package.json index b29e0eeb..28300107 100755 --- a/package.json +++ b/package.json @@ -18,8 +18,6 @@ "@fullcalendar/daygrid": "^5.9.0", "@fullcalendar/interaction": "^5.9.0", "@fullcalendar/react": "^5.9.0", - "@react-three/drei": "^9.11.3", - "@react-three/fiber": "^8.0.27", "@reduxjs/toolkit": "^2.9.2", "@splidejs/react-splide": "^0.7.12", "@tanstack/react-virtual": "^3.13.12", @@ -39,7 +37,6 @@ "fullcalendar": "^5.9.0", "globalize": "^1.7.0", "history": "^5.3.0", - "leaflet": "^1.9.4", "lucide-react": "^0.540.0", "match-sorter": "6.3.0", "moment": "^2.29.1", @@ -59,7 +56,6 @@ "react-input-pin-code": "^1.1.5", "react-just-parallax": "^3.1.16", "react-jvectormap": "0.0.16", - "react-leaflet": "^3.2.5", "react-markdown": "^10.1.0", "react-quill": "^2.0.0-beta.4", "react-redux": "^9.2.0", @@ -82,7 +78,6 @@ "styled-components": "^5.3.11", "stylis": "^4.0.10", "stylis-plugin-rtl": "^2.1.1", - "three": "^0.142.0", "tsparticles-slim": "^2.12.0" }, "resolutions": { diff --git a/src/components/Map/Map.css b/src/components/Map/Map.css deleted file mode 100755 index 7fd8f2a3..00000000 --- a/src/components/Map/Map.css +++ /dev/null @@ -1,3 +0,0 @@ -.leaflet-container { - height: 300px; -} \ No newline at end of file diff --git a/src/components/Map/Map.js b/src/components/Map/Map.js deleted file mode 100755 index 0d59d71c..00000000 --- a/src/components/Map/Map.js +++ /dev/null @@ -1,28 +0,0 @@ -import { MapContainer, TileLayer, } from 'react-leaflet'; -import "./Map.css"; - -function MapPlaceholder() { - return ( -
- Map of London.{' '} - -
- ) - } - - function Map() { - return ( -