Created
April 12, 2018 12:21
-
-
Save GrandSchtroumpf/5ae44576466404af7af7a3d0a1f72760 to your computer and use it in GitHub Desktop.
The selectors for the NGRX version of Angular and Ethereum
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
import { EthState } from './eth.reducers'; | |
export const getAccounts = (state: EthState) => state.eth.accounts; | |
export const getDefaultAccount = (state: EthState) => state.eth.selected; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment