File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
packages/blockchain-wallet-v4-frontend/src/scenes/Login Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- import React from 'react'
1
+ import React , { useEffect } from 'react'
2
2
import { FormattedMessage } from 'react-intl'
3
3
import { useDispatch } from 'react-redux'
4
4
import { Field } from 'redux-form'
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ const CheckEmail = (props: Props) => {
154
154
155
155
type Props = OwnProps & {
156
156
handleSubmit : ( e ) => void
157
+ setStep : ( step : LoginSteps ) => void
157
158
}
158
159
159
160
export default CheckEmail
Original file line number Diff line number Diff line change 1
1
import React , { useEffect } from 'react'
2
2
import { useDispatch , useSelector } from 'react-redux'
3
- import { FormProps , getFormValues , reduxForm } from 'redux-form'
3
+ import { getFormValues , reduxForm } from 'redux-form'
4
4
5
5
import { RemoteDataType } from '@core/types'
6
6
import Form from 'components/Form/Form'
@@ -129,7 +129,7 @@ const Login = (props) => {
129
129
trackEvent ( {
130
130
key : Analytics . LOGIN_VIEWED ,
131
131
properties : {
132
- device_origin : productAuthMetadata ?. platform || 'WEB' ,
132
+ device_origin : productAuthMetadata ?. platform ?? 'WEB' ,
133
133
originalTimestamp : new Date ( ) . toISOString ( )
134
134
}
135
135
} )
@@ -209,6 +209,7 @@ export type Props = {
209
209
handleBackArrowClickWallet : ( ) => void
210
210
invalid ?: boolean
211
211
isMobilePlatform : boolean
212
+ isSofi : boolean
212
213
pristine ?: boolean
213
214
productAuthMetadata : ProductAuthMetadata
214
215
submitting : boolean
You can’t perform that action at this time.
0 commit comments