diff options
Diffstat (limited to 'packages/demobank-ui/src/components/Cashouts/views.tsx')
-rw-r--r-- | packages/demobank-ui/src/components/Cashouts/views.tsx | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/packages/demobank-ui/src/components/Cashouts/views.tsx b/packages/demobank-ui/src/components/Cashouts/views.tsx index 115a2e014..341c43b48 100644 --- a/packages/demobank-ui/src/components/Cashouts/views.tsx +++ b/packages/demobank-ui/src/components/Cashouts/views.tsx @@ -15,23 +15,14 @@ */ import { Amounts, TalerError, assertUnreachable } from "@gnu-taler/taler-util"; -import { Attention, ErrorLoading, Loading, useTranslationContext } from "@gnu-taler/web-util/browser"; +import { Attention, Loading, useTranslationContext } from "@gnu-taler/web-util/browser"; import { format } from "date-fns"; -import { Fragment, h, VNode } from "preact"; -import { RenderAmount } from "../../pages/PaytoWireTransferForm.js"; -import { State } from "./index.js"; +import { Fragment, VNode, h } from "preact"; import { useConversionInfo } from "../../hooks/circuit.js"; +import { RenderAmount } from "../../pages/PaytoWireTransferForm.js"; import { ErrorLoadingWithDebug } from "../ErrorLoadingWithDebug.js"; +import { State } from "./index.js"; -export function LoadingUriView({ error }: State.LoadingUriError): VNode { - const { i18n } = useTranslationContext(); - - return ( - <div> - <i18n.Translate>Could not load</i18n.Translate> - </div> - ); -} export function FailedView({ error }: State.Failed) { const { i18n } = useTranslationContext(); switch (error.case) { |