mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
messaging
This commit is contained in:
parent
d713ef11e4
commit
10a86d389c
@ -50,7 +50,7 @@ export default class AssetFile extends PureComponent<
|
|||||||
case 4:
|
case 4:
|
||||||
return '3/4<br />Asking for two payment confirmations...'
|
return '3/4<br />Asking for two payment confirmations...'
|
||||||
case 5:
|
case 5:
|
||||||
return '3/4<br />Payment confimed.'
|
return '3/4<br />Payment confirmed. Requesting access...'
|
||||||
default:
|
default:
|
||||||
return this.state.message
|
return this.state.message
|
||||||
}
|
}
|
||||||
@ -79,7 +79,7 @@ export default class AssetFile extends PureComponent<
|
|||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
step: null,
|
step: null,
|
||||||
message: '4/4<br /> Consuming file...'
|
message: '4/4<br /> Access granted. Consuming file...'
|
||||||
})
|
})
|
||||||
|
|
||||||
const path = await ocean.assets.consume(
|
const path = await ocean.assets.consume(
|
||||||
|
Loading…
Reference in New Issue
Block a user