Files copy and paste from store atoms and selector to redux slices folder

This commit is contained in:
ISA
2024-12-18 07:29:47 +01:00
parent 4d1a218b21
commit 19e0570310
32 changed files with 47 additions and 104 deletions

View File

@@ -0,0 +1,13 @@
import { atom } from "recoil";
// Atom für die Speicherung der mapId aus der URL
export const mapIdState = atom({
key: "mapIdState", // Eindeutiger Schlüssel (innerhalb des gesamten Projekts)
default: "10", // Standardwert
});
// Atom für die Speicherung der userId aus der URL
export const userIdState = atom({
key: "userIdState",
default: "484",
});