diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-30 15:40:20 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-30 15:40:20 -0300 |
commit | fb4c172bb430936268bcebe34142d4206a0d422e (patch) | |
tree | 3a7970cb259ae23b57a90d77e2b768b24a15b661 /packages/demobank-ui/src | |
parent | 768838285c25cbb1b171f645e8efb37a3c14273a (diff) | |
download | wallet-core-fb4c172bb430936268bcebe34142d4206a0d422e.tar.xz |
remove metric from admin panel and better way to find harness testing user
Diffstat (limited to 'packages/demobank-ui/src')
-rw-r--r-- | packages/demobank-ui/src/pages/PaymentOptions.tsx | 2 | ||||
-rw-r--r-- | packages/demobank-ui/src/pages/admin/AdminHome.tsx | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/packages/demobank-ui/src/pages/PaymentOptions.tsx b/packages/demobank-ui/src/pages/PaymentOptions.tsx index d0ee0243d..2e756b86d 100644 --- a/packages/demobank-ui/src/pages/PaymentOptions.tsx +++ b/packages/demobank-ui/src/pages/PaymentOptions.tsx @@ -31,7 +31,7 @@ export function PaymentOptions({ limit, goToConfirmOperation }: { limit: AmountJ const [settings] = useSettings(); const [tab, setTab] = useState<"charge-wallet" | "wire-transfer" | undefined>(); - console.log("patment", tab) + return ( <div class="mt-2"> diff --git a/packages/demobank-ui/src/pages/admin/AdminHome.tsx b/packages/demobank-ui/src/pages/admin/AdminHome.tsx index 78827d3a2..1e3d3d748 100644 --- a/packages/demobank-ui/src/pages/admin/AdminHome.tsx +++ b/packages/demobank-ui/src/pages/admin/AdminHome.tsx @@ -1,14 +1,13 @@ -import { AmountJson, AmountString, Amounts, TalerCorebankApi, TalerError } from "@gnu-taler/taler-util"; +import { AmountString, Amounts, TalerCorebankApi, TalerError } from "@gnu-taler/taler-util"; import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { Fragment, VNode, h } from "preact"; import { useState } from "preact/hooks"; +import { ErrorLoading } from "../../components/ErrorLoading.js"; import { Transactions } from "../../components/Transactions/index.js"; -import { MonitorMetrics, useLastMonitorInfo } from "../../hooks/circuit.js"; +import { useLastMonitorInfo } from "../../hooks/circuit.js"; import { RenderAmount } from "../PaytoWireTransferForm.js"; import { WireTransfer } from "./Account.js"; import { AccountList } from "./AccountList.js"; -import { assertUnreachable } from "../WithdrawalOperationPage.js"; -import { ErrorLoading } from "../../components/ErrorLoading.js"; /** * Query account information and show QR code if there is pending withdrawal @@ -24,7 +23,7 @@ interface Props { } export function AdminHome({ onCreateAccount, onRegister, onRemoveAccount, onShowAccountDetails, onShowCashoutForAccount, onUpdateAccountPassword }: Props): VNode { return <Fragment> - <Metrics /> + {/* <Metrics /> */} <WireTransfer onRegister={onRegister} /> <Transactions account="admin" /> |