From 43c7cff75055f72c7d59a7180ae8da2554456d8d Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 7 Nov 2022 19:29:47 -0300
Subject: un-uglyfy, fix: 7442

---
 .../src/components/AmountField.tsx                 | 33 ++++++++++------------
 1 file changed, 15 insertions(+), 18 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/components/AmountField.tsx')

diff --git a/packages/taler-wallet-webextension/src/components/AmountField.tsx b/packages/taler-wallet-webextension/src/components/AmountField.tsx
index 79c510d2f..1c57be0df 100644
--- a/packages/taler-wallet-webextension/src/components/AmountField.tsx
+++ b/packages/taler-wallet-webextension/src/components/AmountField.tsx
@@ -45,23 +45,20 @@ export function AmountField({
     return handler.value;
   }
   return (
-    <Fragment>
-      <TextField
-        label={label}
-        type="number"
-        min="0"
-        step="0.1"
-        variant="filled"
-        error={!!handler.error}
-        required={required}
-        startAdornment={
-          <div style={{ padding: "25px 12px 8px 12px" }}>{currency}</div>
-        }
-        value={handler.value}
-        disabled={!handler.onInput}
-        onInput={positiveAmount}
-      />
-      {handler.error && <ErrorText>{handler.error}</ErrorText>}
-    </Fragment>
+    <TextField
+      label={label}
+      type="number"
+      min="0"
+      step="0.1"
+      variant="filled"
+      error={handler.error}
+      required={required}
+      startAdornment={
+        <div style={{ padding: "25px 12px 8px 12px" }}>{currency}</div>
+      }
+      value={handler.value}
+      disabled={!handler.onInput}
+      onInput={positiveAmount}
+    />
   );
 }
-- 
cgit v1.2.3

