Skip to content

Commit

Permalink
Merge pull request #330 from HathorNetwork/dev
Browse files Browse the repository at this point in the history
Release v0.20.4
  • Loading branch information
pedroferreira1 authored Sep 27, 2024
2 parents bbe9da4 + 3bd5f95 commit 8a6d1fa
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 219 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hathor-admin",
"version": "0.20.3",
"version": "0.20.4",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
Expand Down
6 changes: 2 additions & 4 deletions src/components/Network.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ class Network extends React.Component {
}

loadPeers() {
const {
match: { params },
} = this.props;
const { match: params } = this.props;

networkApi
.getPeerList()
Expand Down Expand Up @@ -329,7 +327,7 @@ class Network extends React.Component {
Select a peer to check its network status.
</span>
</button>
<button className="btn btn-hathor ms-auto" onClick={this.loadData}>
<button className="btn btn-hathor ms-auto" onClick={() => this.loadData()}>
Reload data
</button>
</div>
Expand Down
Loading

0 comments on commit 8a6d1fa

Please sign in to comment.