Skip to content

Commit

Permalink
feat(TypeScript): example for selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Jan 10, 2020
1 parent a8ed2f1 commit 1f1bd9e
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ import { RootState } from '../../rootReducer'
export const getVerificationStep = (state: RootState) =>
state.components.identityVerification.verificationStep

export const getSmsStep = path([
'components',
'identityVerification',
'smsStep'
])
// @Leora
// export const getSmsStep = path([
// 'components',
// 'identityVerification',
// 'smsStep'
// ])
export const getSmsStep = (state: RootState) =>
state.components.identityVerification.smsStep

export const getEmailStep = path([
'components',
'identityVerification',
Expand Down

0 comments on commit 1f1bd9e

Please sign in to comment.