From eb9ba57d371caba1c30ca9b7491cf2d00b3d53f6 Mon Sep 17 00:00:00 2001 From: vantuz-subhuman Date: Fri, 15 Nov 2024 14:31:09 +0300 Subject: [PATCH] return fix --- .../app/api/ada/lib/state-fetch/remoteFetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/yoroi-extension/app/api/ada/lib/state-fetch/remoteFetcher.js b/packages/yoroi-extension/app/api/ada/lib/state-fetch/remoteFetcher.js index a121f7b213..55e0e75355 100644 --- a/packages/yoroi-extension/app/api/ada/lib/state-fetch/remoteFetcher.js +++ b/packages/yoroi-extension/app/api/ada/lib/state-fetch/remoteFetcher.js @@ -566,7 +566,7 @@ export class RemoteFetcher implements IFetcher { ).then(response => response.data) .catch((error) => { if (error.response.status === 404 && error.response.data === 'No outputs found') { - return [ null ]; + return null; } Logger.error(`${nameof(RemoteFetcher)}::${nameof(this.getUtxoData)} error: ` + stringifyError(error)); throw new GetUtxoDataError();