diff options
author | Florian Dold <florian@dold.me> | 2024-01-09 18:37:43 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-09 18:37:43 +0100 |
commit | 4ffca702853771bb3807f3881d710b3fbb6d6191 (patch) | |
tree | f67d1b7aea83e811d1a4d8c4167397c5e7be3d4e /packages/taler-wallet-webextension | |
parent | 46f04b7f123d117cc639db74f66086382a7569c7 (diff) | |
download | wallet-core-4ffca702853771bb3807f3881d710b3fbb6d6191.tar.xz |
-misc. minor fixes, docs
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/BackupPage.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx b/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx index 5ae52db6f..b460d9f88 100644 --- a/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx +++ b/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx @@ -16,8 +16,7 @@ import { AbsoluteTime, - constructRecoveryUri, - stringifyRestoreUri, + stringifyRestoreUri } from "@gnu-taler/taler-util"; import { ProviderInfo, @@ -26,13 +25,15 @@ import { ProviderPaymentType, WalletApiOperation, } from "@gnu-taler/taler-wallet-core"; +import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { differenceInMonths, formatDuration, intervalToDuration, } from "date-fns"; -import { Fragment, h, VNode } from "preact"; +import { Fragment, VNode, h } from "preact"; import { useEffect, useState } from "preact/hooks"; +import { Pages } from "../NavigationBar.js"; import { ErrorAlertView } from "../components/CurrentAlerts.js"; import { Loading } from "../components/Loading.js"; import { QR } from "../components/QR.js"; @@ -48,10 +49,8 @@ import { } from "../components/styled/index.js"; import { alertFromError } from "../context/alert.js"; import { useBackendContext } from "../context/backend.js"; -import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { useAsyncAsHook } from "../hooks/useAsyncAsHook.js"; import { Button } from "../mui/Button.js"; -import { Pages } from "../NavigationBar.js"; interface Props { onAddProvider: () => Promise<void>; |