Created
August 23, 2018 14:40
-
-
Save matthew-gerstman/fe22e16974ae0c706b085c33ae44ab65 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
// data/wizards/selectors.ts | |
import { getStateAtNamespaceKey } from "../../redux-utils/selectors"; | |
import { StoreShape, WIZARD_NAMESPACE_KEY } from "../../redux-utils/types"; | |
import { mapValues } from "lodash"; | |
import { Wizard } from "./types"; | |
const getWizards = (state: StoreShape) => ( | |
getStateAtNamespaceKey(state, WIZARD_NAMESPACE_KEY) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should there be an export in front of the const?