- Click to run status checks on your nodes connection or check out the Swarm Bee Docs
+ Click to run status checks on your nodes connection or check out the Swarm Bee Docs
-
Still not working? Drop us a message on the Ethereum Swarm Discord
+
Still not working? Drop us a message on the Ethereum Swarm Discord
diff --git a/src/hooks/apiHooks.tsx b/src/hooks/apiHooks.tsx
index 7369f7e..d5ec170 100644
--- a/src/hooks/apiHooks.tsx
+++ b/src/hooks/apiHooks.tsx
@@ -1,4 +1,4 @@
-import React, { useState, useEffect } from "react";
+import { useState, useEffect } from "react";
import type { NodeAddresses, ChequebookAddressResponse, ChequebookBalanceResponse, BalanceResponse,
LastChequesResponse, AllSettlements, LastCashoutActionResponse } from '@ethersphere/bee-js'
@@ -331,4 +331,4 @@ export const useApiPeerLastCashout = (peerId: string) => {
}, [])
return { peerCashout, isLoadingPeerCashout, error };
-}
\ No newline at end of file
+}
diff --git a/src/pages/accounting/AccountCard.tsx b/src/pages/accounting/AccountCard.tsx
index ff59b6c..5e33af2 100644
--- a/src/pages/accounting/AccountCard.tsx
+++ b/src/pages/accounting/AccountCard.tsx
@@ -88,7 +88,7 @@ function AccountCard(props: IProps) {
Total Sent / Received
-
+ {ConvertBalanceToBZZ(props.settlements.totalsent)} / {ConvertBalanceToBZZ(props.settlements.totalreceived)} props.settlements.totalreceived ? '#c9201f' : '#32c48d' }}>({ConvertBalanceToBZZ(props.settlements.totalsent - props.settlements.totalreceived)})
diff --git a/src/pages/accounting/index.tsx b/src/pages/accounting/index.tsx
index 2a7b788..cd8ba2a 100644
--- a/src/pages/accounting/index.tsx
+++ b/src/pages/accounting/index.tsx
@@ -54,7 +54,7 @@ export default function Accounting(props: any) {
>
{value === index && (
- {children}
+ {children}
)}
{ !props.nodeApiHealth ?
-
+
We cannot connect to your nodes API at {props.apiHost}. Please check the following to troubleshoot your issue.
Troubleshoot
-
+
Check the status of your node by running the below command to see if your node is running.
{ props.nodeHealth?.status !== 'ok' ?
-
+
We cannot connect to your nodes debug API at {props.debugApiHost}. Please check the following to troubleshoot your issue.
Troubleshoot
-
+
Check the status of your node by running the below command to see if your node is running.
)
-}
\ No newline at end of file
+}
diff --git a/src/pages/status/SetupSteps/PeerConnection.tsx b/src/pages/status/SetupSteps/PeerConnection.tsx
index e70efe9..7fb71d1 100644
--- a/src/pages/status/SetupSteps/PeerConnection.tsx
+++ b/src/pages/status/SetupSteps/PeerConnection.tsx
@@ -24,18 +24,18 @@ export default function PeerConnection(props: any) {