diff --git a/frontend/src/screens/wallet/Receive.tsx b/frontend/src/screens/wallet/Receive.tsx index bd9e7755..0bb86e98 100644 --- a/frontend/src/screens/wallet/Receive.tsx +++ b/frontend/src/screens/wallet/Receive.tsx @@ -214,40 +214,41 @@ export default function Receive() { )} - - - - Receiving Capacity - - - - - {!balances && ( -
-
-
+ {hasChannelManagement && ( + + + + Receiving Capacity + + + + + {!balances && ( +
+
+
+
-
- )} -
- {balances && ( - <> - {new Intl.NumberFormat().format( - Math.floor(balances.lightning.totalReceivable / 1000) - )}{" "} - sats - )} -
- - {hasChannelManagement && ( +
+ {balances && ( + <> + {new Intl.NumberFormat().format( + Math.floor(balances.lightning.totalReceivable / 1000) + )}{" "} + sats + + )} +
+ + - )} - + + )}
);