diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-08 11:15:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-08 11:15:13 -0300 |
commit | 036f8a463fca11584fbca45ec1c4c9a918433f9d (patch) | |
tree | df3e39e8d779bd36330b30333fed0830a167a048 /packages/taler-wallet-webextension/src/wallet/Welcome.tsx | |
parent | 1f7d2a9cd21b1d6702b59d228a590bffe1a6f30e (diff) | |
download | wallet-core-036f8a463fca11584fbca45ec1c4c9a918433f9d.tar.xz |
remove diag, check tos
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Welcome.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Welcome.tsx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Welcome.tsx b/packages/taler-wallet-webextension/src/wallet/Welcome.tsx index 8d348ca9d..e19152be2 100644 --- a/packages/taler-wallet-webextension/src/wallet/Welcome.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Welcome.tsx @@ -25,7 +25,6 @@ import { Fragment, h, VNode } from "preact"; import { Checkbox } from "../components/Checkbox.js"; import { SubTitle, Title } from "../components/styled/index.js"; import { useTranslationContext } from "@gnu-taler/web-util/browser"; -import { useDiagnostics } from "../hooks/useDiagnostics.js"; import { useSettings } from "../hooks/useSettings.js"; import { ToggleHandler } from "../mui/handlers.js"; import { platform } from "../platform/foreground.js"; @@ -34,7 +33,6 @@ import { useAlertContext } from "../context/alert.js"; export function WelcomePage(): VNode { const [settings, updateSettings] = useSettings(); const { safely } = useAlertContext(); - const [diagnostics, timedOut] = useDiagnostics(); return ( <View permissionToggle={{ @@ -45,21 +43,15 @@ export function WelcomePage(): VNode { ), }, }} - diagnostics={diagnostics} - timedOut={timedOut} /> ); } export interface ViewProps { permissionToggle: ToggleHandler; - diagnostics: WalletDiagnostics | undefined; - timedOut: boolean; } export function View({ permissionToggle, - diagnostics, - timedOut, }: ViewProps): VNode { const { i18n } = useTranslationContext(); return ( |