Skip to content

Commit

Permalink
fix(sb): do not override default sb balances
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Jul 28, 2020
1 parent 9a88dc2 commit c796411
Showing 1 changed file with 1 addition and 7 deletions.
Expand Up @@ -8,7 +8,6 @@ import {
SBOrderType,
SBPairsType,
SBQuoteType,
WalletFiatEnum,
WalletFiatType
} from 'blockchain-wallet-v4/src/types'
import { convertStandardToBase } from '../exchange/services'
Expand All @@ -17,12 +16,7 @@ import { SBAddCardFormValuesType } from './types'
import moment from 'moment'

export const DEFAULT_SB_BALANCE = { pending: '0', available: '0' }
export const DEFAULT_SB_BALANCES = Object.keys(WalletFiatEnum)
.filter(key => !isNaN(Number(WalletFiatEnum[key])))
.reduce((obj, item) => {
obj[item] = DEFAULT_SB_BALANCE
return obj
}, {})
export const DEFAULT_SB_BALANCES = {}
export const DEFAULT_SB_METHODS = {
currency: 'EUR' as WalletFiatType,
methods: []
Expand Down

0 comments on commit c796411

Please sign in to comment.