Skip to content

Commit

Permalink
fix(tx list): ensure bank details exist
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed Feb 26, 2021
1 parent c9167ef commit a653a9c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const getOrigin = (
)
if (bankAccount) {
const { details } = bankAccount
return `${details.bankName} ${details.bankAccountType.toLowerCase()} ${
return `${details.bankName} ${details.bankAccountType?.toLowerCase()} ${
details.accountNumber
}`
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
import { bindActionCreators, Dispatch } from 'redux'
import { connect, ConnectedProps } from 'react-redux'
import { Field } from 'redux-form'
import { flatten } from 'ramda'
import { FormattedMessage } from 'react-intl'
import BigNumber from 'bignumber.js'
import React, { Component } from 'react'
import styled from 'styled-components'

import { actions } from 'data'
import {
AddressTypesType,
Expand All @@ -9,23 +18,16 @@ import {
SupportedCoinType,
WalletFiatType
} from 'core/types'
import { bindActionCreators, Dispatch } from 'redux'
import { coinToString, fiatToString } from 'core/exchange/currency'
import { connect, ConnectedProps } from 'react-redux'
import { convertBaseToStandard } from 'data/components/exchange/services'
import { Field } from 'redux-form'
import { flatten } from 'ramda'
import { FormattedMessage } from 'react-intl'
import { getData } from './selectors'
import { Icon, Text } from 'blockchain-info-components'
import { ModalNamesType } from 'data/types'
import BigNumber from 'bignumber.js'
import CoinDisplay from 'components/Display/CoinDisplay'
import FiatDisplay from 'components/Display/FiatDisplay'
import Loading from './template.loading'
import React, { Component } from 'react'
import SelectBox from 'components/Form/SelectBox'
import styled from 'styled-components'

import { getData } from './selectors'
import Loading from './template.loading'
import UserPortfolioPositionChange from './UserPortfolioPositionChange'

const Wrapper = styled.div`
Expand Down

0 comments on commit a653a9c

Please sign in to comment.