Skip to content

Commit

Permalink
chore: PeerAdmin to functional component (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliomir authored Sep 10, 2024
1 parent fef1c28 commit 75ba730
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/screens/PeerAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
import React from 'react';
import Network from '../components/Network';

class PeerAdmin extends React.Component {
render() {
return (
<div className="content-wrapper">
<Network {...this.props} />
</div>
);
}
function PeerAdmin(props) {
return (
<div className="content-wrapper">
<Network {...props} />
</div>
);
}

export default PeerAdmin;

0 comments on commit 75ba730

Please sign in to comment.