diff --git a/src/components/Peers/PeersCard.css b/src/components/Peers/PeersCard.css index c5007ed..880a3bd 100644 --- a/src/components/Peers/PeersCard.css +++ b/src/components/Peers/PeersCard.css @@ -15,6 +15,9 @@ position: absolute; left: 0; right: 0; + top: -35px; + bottom: 0; + margin: auto; } footer { diff --git a/src/components/Peers/PeersCard.tsx b/src/components/Peers/PeersCard.tsx index fc73f37..cd6f2d7 100644 --- a/src/components/Peers/PeersCard.tsx +++ b/src/components/Peers/PeersCard.tsx @@ -12,14 +12,14 @@ export function PeersCard() { const nodes = data?.table.nodes ?? []; const actives = PeerUtils.countActives(nodes); - const percent = PeerUtils.calcularePercent(nodes); + const degrees = PeerUtils.calculareDegrees(nodes); const good = PeerUtils.isGoodQuality(actives); return (
- +