Created
August 10, 2020 17:43
-
-
Save chetanraj/5354114340f843d56a3f9ca65488428c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const nameStateSelector = selector({ | |
key: "nameStateSelector", // unique ID | |
get: ({ get }) => { | |
const text = get(nameStateAtom); | |
return text; | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment