1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

add more comments

This commit is contained in:
Bogdan Fazakas 2022-02-07 15:36:32 +02:00
parent aee75a2fc6
commit d69de16102

View File

@ -289,6 +289,7 @@ export default function Compute({
let assetOrderId = hasPreviousDatasetOrder ? previousDatasetOrderId : ''
if (!hasPreviousDatasetOrder) {
// going to move replace part of this logic when the use consume hook will be ready
const initializeData = await ProviderInstance.initialize(
ddo.id,
ddo.services[0].id,
@ -387,6 +388,7 @@ export default function Compute({
// add method for this logic
if (!hasPreviousAlgorithmOrder) {
// going to move replace part of this logic when the use consume hook will be ready
const initializeData = await ProviderInstance.initialize(
selectedAlgorithmAsset.id,
selectedAlgorithmAsset.services[0].id,