mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fixed compute jobs from profile loading
This commit is contained in:
parent
38bf327b89
commit
e6b7acb1d9
@ -263,7 +263,7 @@ export async function getComputeJobs(
|
|||||||
cancelToken?: CancelToken
|
cancelToken?: CancelToken
|
||||||
): Promise<ComputeResults> {
|
): Promise<ComputeResults> {
|
||||||
if (!accountId) return
|
if (!accountId) return
|
||||||
const assetDTAddress = asset.datatokens[0].address
|
const assetDTAddress = asset?.datatokens[0]?.address
|
||||||
const computeResult: ComputeResults = {
|
const computeResult: ComputeResults = {
|
||||||
computeJobs: [],
|
computeJobs: [],
|
||||||
isLoaded: false
|
isLoaded: false
|
||||||
|
Loading…
Reference in New Issue
Block a user