Skip to content

Commit 5a5188b

Browse files
committed
chore(refactor): merge dev
1 parent 8625167 commit 5a5188b

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

packages/blockchain-wallet-v4-frontend/src/scenes/Login/Sofi/VerifySSN/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import React, { useEffect } from 'react'
22
import { FormattedMessage } from 'react-intl'
33
import { useDispatch } from 'react-redux'
44
import { Field } from 'redux-form'

packages/blockchain-wallet-v4-frontend/src/scenes/Login/Wallet/CheckEmail/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ const CheckEmail = (props: Props) => {
154154

155155
type Props = OwnProps & {
156156
handleSubmit: (e) => void
157+
setStep: (step: LoginSteps) => void
157158
}
158159

159160
export default CheckEmail

packages/blockchain-wallet-v4-frontend/src/scenes/Login/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect } from 'react'
22
import { useDispatch, useSelector } from 'react-redux'
3-
import { FormProps, getFormValues, reduxForm } from 'redux-form'
3+
import { getFormValues, reduxForm } from 'redux-form'
44

55
import { RemoteDataType } from '@core/types'
66
import Form from 'components/Form/Form'
@@ -129,7 +129,7 @@ const Login = (props) => {
129129
trackEvent({
130130
key: Analytics.LOGIN_VIEWED,
131131
properties: {
132-
device_origin: productAuthMetadata?.platform || 'WEB',
132+
device_origin: productAuthMetadata?.platform ?? 'WEB',
133133
originalTimestamp: new Date().toISOString()
134134
}
135135
})
@@ -182,7 +182,7 @@ const Login = (props) => {
182182
return <SofiSuccess />
183183

184184
case LoginSteps.ENTER_EMAIL_GUID:
185-
default:
185+
default: {
186186
const LoginComponent =
187187
productAuthMetadata.product === ProductAuthOptions.EXCHANGE
188188
? ExchangeEnterEmail
@@ -194,6 +194,7 @@ const Login = (props) => {
194194
<LoginComponent {...loginProps} />
195195
</>
196196
)
197+
}
197198
}
198199
})()}
199200
</Form>
@@ -209,6 +210,7 @@ export type Props = {
209210
handleBackArrowClickWallet: () => void
210211
invalid?: boolean
211212
isMobilePlatform: boolean
213+
isSofi: boolean
212214
pristine?: boolean
213215
productAuthMetadata: ProductAuthMetadata
214216
submitting: boolean

0 commit comments

Comments
 (0)