diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-27 12:30:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-27 12:30:24 -0300 |
commit | 3a889c177dd35a114d2c95efd296274cd185ce52 (patch) | |
tree | d140b74495c7169996b6ddae6835d107a00271c0 /packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx | |
parent | ff46a080e55bff821f823256bed1bcebdcc1efe9 (diff) | |
download | wallet-core-3a889c177dd35a114d2c95efd296274cd185ce52.tar.xz |
fix #8469
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx index f8e2c6707..c40a3a64c 100644 --- a/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx +++ b/packages/taler-wallet-webextension/src/wallet/DestinationSelection/views.tsx @@ -14,6 +14,7 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ +import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { styled } from "@linaria/react"; import { Fragment, h, VNode } from "preact"; import { AmountField } from "../../components/AmountField.js"; @@ -25,7 +26,6 @@ import { LinkPrimary, SvgIcon, } from "../../components/styled/index.js"; -import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { Button } from "../../mui/Button.js"; import { Grid } from "../../mui/Grid.js"; import { Paper } from "../../mui/Paper.js"; @@ -34,8 +34,6 @@ import arrowIcon from "../../svg/chevron-down.inline.svg"; import bankIcon from "../../svg/ri-bank-line.inline.svg"; import { assertUnreachable } from "../../utils/index.js"; import { Contact, State } from "./index.js"; -import { useEffect } from "preact/hooks"; -import { Checkbox } from "../../components/Checkbox.js"; export function SelectCurrencyView({ currencies, @@ -303,7 +301,7 @@ export function ReadySendView({ required handler={amountHandler} /> - <EnabledBySettings name="advanceMode"> + <EnabledBySettings name="advancedMode"> <Button onClick={selectMax.onClick}> <i18n.Translate>Send all</i18n.Translate> </Button> |