reset onboarding state on scope upgrade

This commit is contained in:
nick-delirium 2024-09-03 16:56:06 +02:00
parent 8596b46614
commit 4b62a2fd0c
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -94,7 +94,6 @@ const reducer = (state = initialState, action = {}) => {
case UPGRADE_ACCOUNT_SCOPE.SUCCESS:
return state
.set('scopeState', 2)
.set('onboarding', true)
case DOWNGRADE_ACCOUNT_SCOPE.SUCCESS:
return state
.set('scopeState', 1)