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:
parent
f53b77fc65
commit
0df5440b06
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user