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

Simplifying comparison (#1758)

This commit is contained in:
Jamie Hewitt 2022-11-01 13:54:42 +03:00 committed by GitHub
parent f53b77fc65
commit 0df5440b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ export async function getAssetsFromDidList(
cancelToken: CancelToken
): Promise<PagedAssets> {
try {
if (!(didList.length > 0)) return
if (!didList.length) return
const baseParams = {
chainIds,
@ -214,7 +214,7 @@ export async function getAssetsFromDtList(
cancelToken: CancelToken
): Promise<Asset[]> {
try {
if (!(dtList.length > 0)) return
if (!dtList.length) return
const baseParams = {
chainIds,