diff --git a/src/components/Home/ConnectionCard/ConnectionCard.tsx b/src/components/Home/ConnectionCard/ConnectionCard.tsx index b4d5043f..730ad269 100644 --- a/src/components/Home/ConnectionCard/ConnectionCard.tsx +++ b/src/components/Home/ConnectionCard/ConnectionCard.tsx @@ -59,7 +59,9 @@ export const ConnectionCard: FC = ({
-

{nodeId}

+

+ {nodeId} +

, MODAL_ROOT diff --git a/src/components/Home/WalletCard/WalletCard.tsx b/src/components/Home/WalletCard/WalletCard.tsx index ff64d9a1..1893e9a3 100644 --- a/src/components/Home/WalletCard/WalletCard.tsx +++ b/src/components/Home/WalletCard/WalletCard.tsx @@ -47,7 +47,7 @@ export const WalletCard: FC = ({ unconfirmedSign = onChainUnconfirmed > 0 ? "+" : ""; } - if (lnBalance) { + if (lnBalance !== null) { convertedLnBalance = unit === Unit.BTC ? convertMSatToBtc(lnBalance) : lnBalance / 1000; } diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index fcb02506..f8cacde6 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -60,7 +60,9 @@ const Home: FC = () => { } else { setTxError( `${t("login.error")}: ${ - err.response?.data?.detail?.[0]?.msg || err.response?.data?.detail + err.response?.data?.detail?.[0]?.msg || + err.response?.data?.detail || + err.message }` ); }