refactor and cleanup

This commit is contained in:
ISA
2025-05-23 08:36:38 +02:00
parent 41e270cc53
commit 8cb995040d
16 changed files with 88 additions and 92 deletions

View File

@@ -1,3 +1,4 @@
// /components/AddPOIOnPolyline.js
import React, { useState, useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
import { closeAddPoiOnPolylineModal } from "../redux/slices/addPoiOnPolylineSlice";
@@ -20,6 +21,7 @@ const AddPOIOnPolyline = () => {
if (!isOpen) return null;
const handleSubmit = async (event) => {
alert("POI auf Polyline hinzufügen");
event.preventDefault();
const formData = { name, latitude, longitude };