Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 7048ee4

Browse files
authored
Merge pull request #1678 from blockchain/fix/upgrade-for-airdrop-goal
fix(Upgrade for Airdrop Goal)
2 parents 42485fc + 658a027 commit 7048ee4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/blockchain-wallet-v4-frontend/src/data/goals

packages/blockchain-wallet-v4-frontend/src/data/goals/sagas.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ export default ({ api }) => {
210210
const userTiers = (yield select(
211211
selectors.modules.profile.getUserTiers
212212
)).getOrElse({})
213-
if (kycNotFinished && propEq('current', 1, userTiers)) {
213+
const userCanUpgrade =
214+
kycNotFinished && userTiers && propEq('current', 1, userTiers)
215+
216+
if (userCanUpgrade) {
214217
return yield put(
215218
actions.goals.addInitialModal(
216219
'upgradeForAirdrop',

0 commit comments

Comments
 (0)