nice routing
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { atom } from "recoil";
|
||||
|
||||
export enum RecoilActions {
|
||||
CURR_PAGE_PATH = "CURR_PAGE_PATH",
|
||||
}
|
||||
|
||||
export const currPagePath = atom({
|
||||
key: RecoilActions.CURR_PAGE_PATH, // unique ID (with respect to other atoms/selectors)
|
||||
default: "/s", // default value (aka initial value)
|
||||
});
|
||||
Reference in New Issue
Block a user