Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
BroProgramerWeb3 committed Dec 29, 2023
1 parent 5de98b9 commit c8aecd2
Show file tree
Hide file tree
Showing 7 changed files with 23,616 additions and 73,805 deletions.
96,632 changes: 22,834 additions & 73,798 deletions client/dist/index.764980e3.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/index.764980e3.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/src/components/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import Blocks from 'Blocks'
import Blocks from './Blocks';

class App extends Component {
state = { walletInfo: {}};
Expand Down
13 changes: 10 additions & 3 deletions client/src/components/Blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,21 @@ class Blocks extends Component {
return (
<div>
<h3>Blocks</h3>
{this.state.blocks.map((block, index) => (
{/* {this.state.blocks.map((block, index) => (
<div key={index}>
<p>Block data: {JSON.stringify(block)}</p>
</div>
))}
))} */}
{
this.state.blocks.map(block => {
return (
<div key={block.hash}>{block.hash}</div>
)
})
}
</div>
)
}
}
}

export default Blocks;
Loading

0 comments on commit c8aecd2

Please sign in to comment.