Skip to content

Commit

Permalink
Fix ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
OlliV committed Oct 29, 2023
1 parent 9d9d64a commit 449f12b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/map/Edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export default function MapEditCourse({
if (layer._latlngs) {
// Polyline
// TODO Detect which segment was changed
// @ts-ignore
setCourse(
updateTrackSegment(
JSON.parse(initStr),
0,
// @ts-ignore
layer._latlngs.map((v) => ({ lat: v.lat, lon: v.lng }))
)
);
Expand Down

1 comment on commit 449f12b

@vercel
Copy link

@vercel vercel bot commented on 449f12b Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bfree – ./

bfree-olliv.vercel.app
bfree-git-master-olliv.vercel.app
bfree.vercel.app

Please sign in to comment.