feat: Set default POI type in dropdown based on selected POI
This commit is contained in:
8
store/atoms/poiState.js
Normal file
8
store/atoms/poiState.js
Normal 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
|
||||
});
|
||||
Reference in New Issue
Block a user