Skip to content

Commit

Permalink
chore(refactor): merge dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mperdomo-bc committed Jan 5, 2024
1 parent 8625167 commit 5a5188b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import React, { useEffect } from 'react'
import { FormattedMessage } from 'react-intl'
import { useDispatch } from 'react-redux'
import { Field } from 'redux-form'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ const CheckEmail = (props: Props) => {

type Props = OwnProps & {
handleSubmit: (e) => void
setStep: (step: LoginSteps) => void
}

export default CheckEmail
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect } from 'react'
import { useDispatch, useSelector } from 'react-redux'
import { FormProps, getFormValues, reduxForm } from 'redux-form'
import { getFormValues, reduxForm } from 'redux-form'

import { RemoteDataType } from '@core/types'
import Form from 'components/Form/Form'
Expand Down Expand Up @@ -129,7 +129,7 @@ const Login = (props) => {
trackEvent({
key: Analytics.LOGIN_VIEWED,
properties: {
device_origin: productAuthMetadata?.platform || 'WEB',
device_origin: productAuthMetadata?.platform ?? 'WEB',
originalTimestamp: new Date().toISOString()
}
})
Expand Down Expand Up @@ -182,7 +182,7 @@ const Login = (props) => {
return <SofiSuccess />

case LoginSteps.ENTER_EMAIL_GUID:
default:
default: {
const LoginComponent =
productAuthMetadata.product === ProductAuthOptions.EXCHANGE
? ExchangeEnterEmail
Expand All @@ -194,6 +194,7 @@ const Login = (props) => {
<LoginComponent {...loginProps} />
</>
)
}
}
})()}
</Form>
Expand All @@ -209,6 +210,7 @@ export type Props = {
handleBackArrowClickWallet: () => void
invalid?: boolean
isMobilePlatform: boolean
isSofi: boolean
pristine?: boolean
productAuthMetadata: ProductAuthMetadata
submitting: boolean
Expand Down

0 comments on commit 5a5188b

Please sign in to comment.