From 3fba3336d3355e94aebbbe029bf597c165621e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=E2=9A=A1=20K?= Date: Thu, 19 Sep 2024 06:24:15 +0200 Subject: [PATCH] Fix copy on onchain deposit (#664) * Fix copy on onchain deposit * fix: formatting * fix: grammar * chore: style and copy cleanup --------- Co-authored-by: Roland Bewick --- .../screens/channels/CurrentChannelOrder.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/frontend/src/screens/channels/CurrentChannelOrder.tsx b/frontend/src/screens/channels/CurrentChannelOrder.tsx index cbf7be77..2087e033 100644 --- a/frontend/src/screens/channels/CurrentChannelOrder.tsx +++ b/frontend/src/screens/channels/CurrentChannelOrder.tsx @@ -303,15 +303,18 @@ function PayBitcoinChannelOrderTopup({ order }: { order: NewChannelOrder }) {

You currently have{" "} - {new Intl.NumberFormat().format(balances.onchain.total)} sats. We - recommend to deposit another{" "} - {new Intl.NumberFormat().format(recommendedAmount)} sats to open a - channel.{" "} + + {new Intl.NumberFormat().format(balances.onchain.total)} + {" "} + sats. We recommend depositing{" "} + + {new Intl.NumberFormat().format(recommendedAmount)} + {" "} + sats to open this channel.

- ~{new Intl.NumberFormat().format(+missingAmount)} sats are missing - to cover the cost of opening the channel, including onchain fees and - potential onchain channel reserves. + This amount includes cost for the channel opening and potential + channel onchain reserves.