diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/DepositPage/index.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/DepositPage/index.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage/index.ts b/packages/taler-wallet-webextension/src/wallet/DepositPage/index.ts index 3f23515b2..ad4c759bf 100644 --- a/packages/taler-wallet-webextension/src/wallet/DepositPage/index.ts +++ b/packages/taler-wallet-webextension/src/wallet/DepositPage/index.ts @@ -20,11 +20,9 @@ import { HookError } from "../../hooks/useAsyncAsHook.js"; import { AmountFieldHandler, ButtonHandler, - SelectFieldHandler, - TextFieldHandler, + SelectFieldHandler } from "../../mui/handlers.js"; import { compose, StateViewMap } from "../../utils/index.js"; -import { wxApi } from "../../wxApi.js"; import { ManageAccountPage } from "../ManageAccount/index.js"; import { useComponentState } from "./state.js"; import { @@ -32,7 +30,7 @@ import { LoadingErrorView, NoAccountToDepositView, NoEnoughBalanceView, - ReadyView, + ReadyView } from "./views.js"; export interface Props { @@ -119,6 +117,6 @@ const viewMapping: StateViewMap<State> = { export const DepositPage = compose( "DepositPage", - (p: Props) => useComponentState(p, wxApi), + (p: Props) => useComponentState(p), viewMapping, ); |