From 4ffca702853771bb3807f3881d710b3fbb6d6191 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 9 Jan 2024 18:37:43 +0100 Subject: -misc. minor fixes, docs --- packages/taler-wallet-webextension/src/wallet/BackupPage.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wallet') 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; -- cgit v1.2.3