list 100 transactions for fiat received and outgoing instead of 25

This commit is contained in:
Anthony 2021-10-11 19:24:43 +03:00 committed by Thomas Zarebczan
parent 3f969ae20d
commit 3087f7c367
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -96,8 +96,8 @@ function TxoList(props: Props) {
} }
// TODO: remove this once pagination is implemented // TODO: remove this once pagination is implemented
if (accountTransactionResponse && accountTransactionResponse.length && accountTransactionResponse.length > 25) { if (accountTransactionResponse && accountTransactionResponse.length && accountTransactionResponse.length > 100) {
accountTransactionResponse.length = 25; accountTransactionResponse.length = 100;
} }
setAccountTransactionResponse(accountTransactionResponse); setAccountTransactionResponse(accountTransactionResponse);
@ -125,9 +125,9 @@ function TxoList(props: Props) {
if ( if (
customerTransactionResponse && customerTransactionResponse &&
customerTransactionResponse.length && customerTransactionResponse.length &&
customerTransactionResponse.length > 25 customerTransactionResponse.length > 100
) { ) {
customerTransactionResponse.length = 25; customerTransactionResponse.length = 100;
} }
setCustomerTransactions(customerTransactionResponse); setCustomerTransactions(customerTransactionResponse);