Skip to content

Commit

Permalink
fix: Fix QA issues (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroferreira1 authored Sep 26, 2024
1 parent 027fe72 commit aa3a2e9
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 215 deletions.
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 aa3a2e9

Please sign in to comment.