Skip to content

Commit

Permalink
chore(features): remove legacyWalletRecovery flag support
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed Dec 15, 2021
1 parent 4cfdb29 commit 82c3fa5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const App = ({
coinsWithBalance,
history,
isAuthenticated,
legacyWalletRecoveryEnabled,
persistor,
store,
userData,
Expand Down Expand Up @@ -160,9 +159,6 @@ const mapStateToProps = (state) => ({
} as WalletOptionsType['domains']).api,
coinsWithBalance: selectors.components.utils.getCoinsWithBalanceOrMethod(state).getOrElse([]),
isAuthenticated: selectors.auth.isAuthenticated(state) as boolean,
legacyWalletRecoveryEnabled: selectors.core.walletOptions
.getFeatureLegacyWalletRecovery(state)
.getOrElse(false) as boolean,
userData: selectors.modules.profile.getUserData(state).getOrElse({} as UserDataType),
walletConnectEnabled: selectors.core.walletOptions
.getWalletConnectEnabled(state)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ export const getPairingCodeFlag = (state: RootState) =>
export const getFeatureFlagRecurringBuys = (state: RootState) =>
getWebOptions(state).map(path(['featureFlags', 'recurringBuys']))

// legacy recovery flag
export const getFeatureLegacyWalletRecovery = (state: RootState) =>
getWebOptions(state).map(path(['featureFlags', 'legacyWalletRecovery']))

// legacy magic email link
export const getFeatureLegacyMagicEmailLink = (state: RootState) =>
getWebOptions(state).map(path(['featureFlags', 'legacyMagicEmailLink']))
Expand Down

0 comments on commit 82c3fa5

Please sign in to comment.