-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(refactor): login convert to functional component (#6219)
- Loading branch information
1 parent
c3dfb98
commit 6f87701
Showing
6 changed files
with
195 additions
and
218 deletions.
There are no files selected for viewing
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
8 changes: 3 additions & 5 deletions
8
packages/blockchain-wallet-v4-frontend/src/data/goals/selectors.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { path } from 'ramda' | ||
|
||
import { RootState } from 'data/rootReducer' | ||
|
||
export const getGoals = (state: RootState) => state.goals.goals | ||
export const getInitialModals = path(['goals', 'initialModals']) | ||
export const getInitialRedirect = path(['goals', 'initialRedirect']) | ||
export const getInitialModalDisplayed = path(['goals', 'initialModalDisplayed']) | ||
export const getInitialModals = (state: RootState) => state.goals.initialModals | ||
export const getInitialRedirect = (state: RootState) => state.goals.initialRedirect | ||
export const getInitialModalDisplayed = (state: RootState) => state.goals.initialModalDisplayed |
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
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
Oops, something went wrong.