mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Add some tips when clicking the app's buttons
This commit is contained in:
parent
d469a80c84
commit
18f939e65f
@ -65,9 +65,13 @@ With all these buttons in place, you should see this:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Final Result
|
Tip: Before clicking the `Retrieve assets` button, it might help to reload the page.
|
||||||
|
|
||||||
That's it. If you have no errors in your `console.log` and can see your asset files listed, you have a working marketplace.
|
Go ahead and click the `Retrieve assets` button, and then the `Consume asset` button. Approve all the MetaMask dialog boxes.
|
||||||
|
|
||||||
|
If you have no errors in your `console.log` and can see your asset files listed, you have a working marketplace.
|
||||||
|
|
||||||
|
## Final Result
|
||||||
|
|
||||||
Here is the full source of `src/App.js` that you should have if you followed this tutorial:
|
Here is the full source of `src/App.js` that you should have if you followed this tutorial:
|
||||||
|
|
||||||
|
@ -101,9 +101,13 @@ The last thing we need is a button to start our registration inside the render f
|
|||||||
<button onClick={() => this.submitAsset()}>Register asset</button>
|
<button onClick={() => this.submitAsset()}>Register asset</button>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Final Result
|
Tip: Before clicking the `Register asset` button, it might help to reload the page.
|
||||||
|
|
||||||
That's it. If you have no errors in your `console.log` and you receive an alert after you click `Register asset` then you have successfully registered an asset.
|
When you click on the `Register asset` button, you should get four separate dialog boxes from MetaMask, in a series, i.e. the second one only appears after you accept/approve the first one, and so on.
|
||||||
|
|
||||||
|
If you have no errors in your `console.log`, then you have successfully registered an asset.
|
||||||
|
|
||||||
|
## Final Result
|
||||||
|
|
||||||
Here is the full source of `src/App.js` that you should have if you followed this tutorial:
|
Here is the full source of `src/App.js` that you should have if you followed this tutorial:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user