feat: 删除不需要的组件

This commit is contained in:
zdl
2025-11-07 14:31:50 +08:00
parent 3c060b7aa5
commit c10af30ad4
3 changed files with 0 additions and 36 deletions

View File

@@ -18,8 +18,6 @@
"@fullcalendar/daygrid": "^5.9.0", "@fullcalendar/daygrid": "^5.9.0",
"@fullcalendar/interaction": "^5.9.0", "@fullcalendar/interaction": "^5.9.0",
"@fullcalendar/react": "^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", "@reduxjs/toolkit": "^2.9.2",
"@splidejs/react-splide": "^0.7.12", "@splidejs/react-splide": "^0.7.12",
"@tanstack/react-virtual": "^3.13.12", "@tanstack/react-virtual": "^3.13.12",
@@ -39,7 +37,6 @@
"fullcalendar": "^5.9.0", "fullcalendar": "^5.9.0",
"globalize": "^1.7.0", "globalize": "^1.7.0",
"history": "^5.3.0", "history": "^5.3.0",
"leaflet": "^1.9.4",
"lucide-react": "^0.540.0", "lucide-react": "^0.540.0",
"match-sorter": "6.3.0", "match-sorter": "6.3.0",
"moment": "^2.29.1", "moment": "^2.29.1",
@@ -59,7 +56,6 @@
"react-input-pin-code": "^1.1.5", "react-input-pin-code": "^1.1.5",
"react-just-parallax": "^3.1.16", "react-just-parallax": "^3.1.16",
"react-jvectormap": "0.0.16", "react-jvectormap": "0.0.16",
"react-leaflet": "^3.2.5",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
"react-quill": "^2.0.0-beta.4", "react-quill": "^2.0.0-beta.4",
"react-redux": "^9.2.0", "react-redux": "^9.2.0",
@@ -82,7 +78,6 @@
"styled-components": "^5.3.11", "styled-components": "^5.3.11",
"stylis": "^4.0.10", "stylis": "^4.0.10",
"stylis-plugin-rtl": "^2.1.1", "stylis-plugin-rtl": "^2.1.1",
"three": "^0.142.0",
"tsparticles-slim": "^2.12.0" "tsparticles-slim": "^2.12.0"
}, },
"resolutions": { "resolutions": {

View File

@@ -1,3 +0,0 @@
.leaflet-container {
height: 300px;
}

View File

@@ -1,28 +0,0 @@
import { MapContainer, TileLayer, } from 'react-leaflet';
import "./Map.css";
function MapPlaceholder() {
return (
<p>
Map of London.{' '}
<noscript>You need to enable JavaScript to see this map.</noscript>
</p>
)
}
function Map() {
return (
<MapContainer
center={[51.505, -0.09]}
zoom={13}
scrollWheelZoom={true}
placeholder={<MapPlaceholder />}>
<TileLayer
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
</MapContainer>
)
}
export default Map;