Skip to content

Commit

Permalink
forbidden dark magic
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdoh0109 committed Nov 10, 2024
1 parent 26c168e commit ccf0f89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ import React from "react";
import { Marker as MarkerLeaflet } from "react-leaflet";
import { divIcon } from "leaflet";

interface MarkerProps {
lat: number;
lng: number;
color?: string;
}

const Marker = ({ color = "#878ED8", lat, lng }: MarkerProps) => {
const Marker = ({ color = "#878ED8", lat, lng }) => {
const icon = divIcon({
html: `
<svg
Expand Down
2 changes: 1 addition & 1 deletion frontend/plan/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
]
, "components/map/Marker.jsx" ]
}

0 comments on commit ccf0f89

Please sign in to comment.