From e6b7acb1d9a068703486f826ef7f29eadd74b2d8 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Thu, 10 Mar 2022 01:14:27 +0200 Subject: [PATCH] fixed compute jobs from profile loading --- src/@utils/compute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@utils/compute.ts b/src/@utils/compute.ts index c275ac77b..0f41a31da 100644 --- a/src/@utils/compute.ts +++ b/src/@utils/compute.ts @@ -263,7 +263,7 @@ export async function getComputeJobs( cancelToken?: CancelToken ): Promise { if (!accountId) return - const assetDTAddress = asset.datatokens[0].address + const assetDTAddress = asset?.datatokens[0]?.address const computeResult: ComputeResults = { computeJobs: [], isLoaded: false