1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

set transactions to an empty list if dtList lengths is 0 (#1274)

This commit is contained in:
Norbi 2022-03-29 17:15:30 +03:00 committed by GitHub
parent 90f841bb13
commit f4a0376f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,6 +173,7 @@ export default function PoolTransactions({
}
if (dtList.length === 0) {
setTransactions([])
setIsLoading(false)
return
}