Created
June 9, 2021 11:41
-
-
Save sayon-bitquery/45c718e6138a94b1c375be50cb518da6 to your computer and use it in GitHub Desktop.
Finally, display the data as shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return ( | |
<div> | |
<h1>BitQuery & React</h1> | |
<ul> | |
{data.bitcoin.blocks.map((query) => ( | |
<li key={query.height}>{query.blockHash}</li> | |
))} | |
</ul> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment