1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

messaging

This commit is contained in:
Matthias Kretschmann 2019-04-25 14:41:27 +02:00
parent d713ef11e4
commit 10a86d389c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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(