From 0df5440b06b17e4e5ed70cfe7ee992c73e6f364e Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Tue, 1 Nov 2022 13:54:42 +0300 Subject: [PATCH] Simplifying comparison (#1758) --- src/@utils/aquarius.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@utils/aquarius.ts b/src/@utils/aquarius.ts index 5d77982b2..d2b4bd809 100644 --- a/src/@utils/aquarius.ts +++ b/src/@utils/aquarius.ts @@ -192,7 +192,7 @@ export async function getAssetsFromDidList( cancelToken: CancelToken ): Promise { try { - if (!(didList.length > 0)) return + if (!didList.length) return const baseParams = { chainIds, @@ -214,7 +214,7 @@ export async function getAssetsFromDtList( cancelToken: CancelToken ): Promise { try { - if (!(dtList.length > 0)) return + if (!dtList.length) return const baseParams = { chainIds,