From 9bd968b0516335e535a22fa84975f79dffb33c63 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 27 Mar 2024 12:09:58 -0500 Subject: [PATCH] 200k sat warning --- public/i18n/en.json | 6 ++++- src/components/BigMoney.tsx | 2 +- src/components/FeeDisplay.tsx | 2 +- src/components/layout/Misc.tsx | 4 ++-- src/routes/Receive.tsx | 41 ++++++++++++++++++++++++++++++++-- 5 files changed, 48 insertions(+), 7 deletions(-) diff --git a/public/i18n/en.json b/public/i18n/en.json index 1ad431c..9a3d0cf 100644 --- a/public/i18n/en.json +++ b/public/i18n/en.json @@ -142,7 +142,11 @@ "gift": "Lightning Gift" }, "remember_choice": "Remember my choice next time", - "what_for": "What's this for?" + "what_for": "What's this for?", + "method_help": { + "title": "Receive Method", + "body": "Lightning receives under 200,000 sats go into your federation by default. Anything higher than that goes into a lightning channel." + } }, "send": { "search": { diff --git a/src/components/BigMoney.tsx b/src/components/BigMoney.tsx index 7d89ea2..48c91c2 100644 --- a/src/components/BigMoney.tsx +++ b/src/components/BigMoney.tsx @@ -51,7 +51,7 @@ function SmallSubtleAmount(props: { return (

diff --git a/src/components/FeeDisplay.tsx b/src/components/FeeDisplay.tsx index b99335d..3f9c312 100644 --- a/src/components/FeeDisplay.tsx +++ b/src/components/FeeDisplay.tsx @@ -11,7 +11,7 @@ const AmountKeyValue: ParentComponent<{ key: string; gray?: boolean }> = ( return (
{props.key}
{props.children}
diff --git a/src/components/layout/Misc.tsx b/src/components/layout/Misc.tsx index 716818b..1a260e7 100644 --- a/src/components/layout/Misc.tsx +++ b/src/components/layout/Misc.tsx @@ -160,7 +160,7 @@ const FullscreenLoader = () => {