Skip to content

Commit

Permalink
fix(deposit): fixed issue with call of non existing function
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-bc committed Oct 6, 2021
1 parent 9c831de commit b9d0866
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Expand Up @@ -33,7 +33,7 @@ export default ({ api, coreSagas, networks }) => {
yield takeLatest(actions.fetchLimits.type, simpleBuySagas.fetchLimits)
yield takeLatest(actions.fetchOrders.type, simpleBuySagas.fetchSBOrders)
yield takeLatest(actions.fetchPairs.type, simpleBuySagas.fetchSBPairs)
yield takeLatest(actions.fetchPaymentAccount.type, simpleBuySagas.fetchSBPaymentAccount)
yield takeLatest(actions.fetchPaymentAccount.type, simpleBuySagas.fetchPaymentAccount)
yield takeLatest(actions.fetchPaymentMethods.type, simpleBuySagas.fetchPaymentMethods)
yield takeLatest(actions.fetchQuote.type, simpleBuySagas.fetchSBQuote)
yield takeLatest(actions.handleDepositFiatClick.type, simpleBuySagas.handleSBDepositFiatClick)
Expand Down
Expand Up @@ -684,7 +684,7 @@ export default ({ api, coreSagas, networks }: { api: APIType; coreSagas: any; ne
}
}

const fetchSBPaymentAccount = function* () {
const fetchPaymentAccount = function* () {
try {
yield put(A.fetchPaymentAccountLoading())
const fiatCurrency = S.getFiatCurrency(yield select())
Expand Down Expand Up @@ -1304,14 +1304,14 @@ export default ({ api, coreSagas, networks }: { api: APIType; coreSagas: any; ne
deleteSBCard,
fetchFiatEligible,
fetchLimits,
fetchPaymentAccount,
fetchPaymentMethods,
fetchSBBalances,
fetchSBCard,
fetchSBCardSDD,
fetchSBCards,
fetchSBOrders,
fetchSBPairs,
fetchSBPaymentAccount,
fetchSBQuote,
fetchSDDEligible,
fetchSDDVerified,
Expand Down
Expand Up @@ -2,11 +2,7 @@ import React, { useEffect } from 'react'
import { connect, ConnectedProps } from 'react-redux'
import { bindActionCreators, Dispatch } from 'redux'

import {
FiatType,
RemoteDataType,
SBAccountType
} from '@core/types'
import { FiatType, RemoteDataType, SBAccountType } from '@core/types'
import DataError from 'components/DataError'
import { actions } from 'data'
import { RootState } from 'data/rootReducer'
Expand All @@ -20,7 +16,7 @@ const WireInstructions = (props) => {
useEffect(() => {
if (props.fiatCurrency) {
props.buySellActions.setFiatCurrency(props.fiatCurrency)
props.buySellActions.fetchSBPaymentAccount()
props.buySellActions.fetchPaymentAccount()
}
}, [])

Expand Down

0 comments on commit b9d0866

Please sign in to comment.