Files copy and paste from store atoms and selector to redux slices folder
This commit is contained in:
7
redux/slices/selectedAreaState.js
Normal file
7
redux/slices/selectedAreaState.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// In deinem Recoil store
|
||||
import { atom } from "recoil";
|
||||
|
||||
export const selectedAreaState = atom({
|
||||
key: "selectedAreaState", // unique ID (with respect to other atoms/selectors)
|
||||
default: null, // default value (aka initial value)
|
||||
});
|
||||
Reference in New Issue
Block a user