Skip to content

Commit

Permalink
fix(flyoutlag): stop calling transactions endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuchann committed Dec 7, 2021
1 parent 407ca74 commit 546110a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default ({ api, coreSagas, networks }) => {
yield takeLatest(actions.fetchSDDVerified.type, buySellSagas.fetchSDDVerified)
yield takeLatest(actions.fetchLimits.type, buySellSagas.fetchLimits)
yield takeLatest(actions.fetchOrders.type, buySellSagas.fetchBSOrders)
yield takeLatest(actions.fetchBSOrders.type, buySellSagas.fetchBSOrders)
yield takeLatest(actions.fetchPairs.type, buySellSagas.fetchBSPairs)
yield takeLatest(actions.fetchPaymentAccount.type, buySellSagas.fetchPaymentAccount)
yield takeLatest(actions.fetchPaymentMethods.type, buySellSagas.fetchPaymentMethods)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ const buySellSlice = createSlice({
state.quote = Remote.NotAsked
state.step = 'CRYPTO_SELECTION'
},
fetchBSOrders: () => {},
fetchBalance: (
state,
action: PayloadAction<{ currency?: CoinType; skipLoading?: boolean }>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CryptoSelection extends React.Component<Props> {
this.props.buySellActions.fetchPairs({ currency: this.props.fiatCurrency })
this.props.buySellActions.fetchFiatEligible(this.props.fiatCurrency)
this.props.buySellActions.fetchSDDEligibility()
this.props.buySellActions.fetchOrders()
this.props.buySellActions.fetchBSOrders()
}
}

Expand All @@ -44,6 +44,7 @@ class CryptoSelection extends React.Component<Props> {
Loading: () => <Loading />,
NotAsked: () => <Loading />,
Success: (val) => <Success {...this.props} {...val} />
// <Loading />
})
}
}
Expand Down

0 comments on commit 546110a

Please sign in to comment.