feat: Set default POI type in dropdown based on selected POI

This commit is contained in:
isa
2024-05-25 22:23:25 +02:00
parent 153d423555
commit d7fdda761c
12 changed files with 708 additions and 24 deletions

8
store/atoms/poiState.js Normal file
View File

@@ -0,0 +1,8 @@
// store/atoms/poiState.js
//Ist gedacht um ausgewählte Poi Informationen zu speichern und zu PoiUpdateModal.js zu übergeben
import { atom } from "recoil";
export const selectedPoiState = atom({
key: "poiState", // Einzigartiger Key (mit der gesamten Anwendung)
default: null, // Standardwert
});