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:
parent
aee75a2fc6
commit
d69de16102
@ -289,6 +289,7 @@ export default function Compute({
|
|||||||
let assetOrderId = hasPreviousDatasetOrder ? previousDatasetOrderId : ''
|
let assetOrderId = hasPreviousDatasetOrder ? previousDatasetOrderId : ''
|
||||||
|
|
||||||
if (!hasPreviousDatasetOrder) {
|
if (!hasPreviousDatasetOrder) {
|
||||||
|
// going to move replace part of this logic when the use consume hook will be ready
|
||||||
const initializeData = await ProviderInstance.initialize(
|
const initializeData = await ProviderInstance.initialize(
|
||||||
ddo.id,
|
ddo.id,
|
||||||
ddo.services[0].id,
|
ddo.services[0].id,
|
||||||
@ -387,6 +388,7 @@ export default function Compute({
|
|||||||
|
|
||||||
// add method for this logic
|
// add method for this logic
|
||||||
if (!hasPreviousAlgorithmOrder) {
|
if (!hasPreviousAlgorithmOrder) {
|
||||||
|
// going to move replace part of this logic when the use consume hook will be ready
|
||||||
const initializeData = await ProviderInstance.initialize(
|
const initializeData = await ProviderInstance.initialize(
|
||||||
selectedAlgorithmAsset.id,
|
selectedAlgorithmAsset.id,
|
||||||
selectedAlgorithmAsset.services[0].id,
|
selectedAlgorithmAsset.services[0].id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user