From 34e2fd51e038d26c9ea1c0c6770148640669518f Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 20 Jun 2023 17:50:30 -0300
Subject: add select max amount

---
 .../src/wallet/DestinationSelection/views.tsx                       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx
index c230c1490..f8e2c6707 100644
--- a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx
@@ -203,7 +203,7 @@ export function ReadyGetView({
   return (
     <Container>
       <h1>
-        <i18n.Translate>Specify the amount and the origin2</i18n.Translate>
+        <i18n.Translate>Specify the amount and the origin</i18n.Translate>
       </h1>
       <Grid container columns={2} justifyContent="space-between">
         <AmountField
@@ -287,7 +287,7 @@ export function ReadySendView({
   goToBank,
   goToWallet,
   previous,
-  sendAll,
+  selectMax,
 }: State.Ready): VNode {
   const { i18n } = useTranslationContext();
 
@@ -304,7 +304,7 @@ export function ReadySendView({
           handler={amountHandler}
         />
         <EnabledBySettings name="advanceMode">
-          <Button onClick={sendAll.onClick}>
+          <Button onClick={selectMax.onClick}>
             <i18n.Translate>Send all</i18n.Translate>
           </Button>
         </EnabledBySettings>
-- 
cgit v1.2.3

