From 2a4dbc67e8d1e6a256431e34f0b2e0e19d204f70 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 8 Mar 2024 09:20:02 -0300
Subject: remove dead code

---
 packages/demobank-ui/src/pages/PaymentOptions.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/demobank-ui/src/pages/PaymentOptions.tsx')

diff --git a/packages/demobank-ui/src/pages/PaymentOptions.tsx b/packages/demobank-ui/src/pages/PaymentOptions.tsx
index ac7118697..48ecc7525 100644
--- a/packages/demobank-ui/src/pages/PaymentOptions.tsx
+++ b/packages/demobank-ui/src/pages/PaymentOptions.tsx
@@ -21,9 +21,9 @@ import { PaytoWireTransferForm } from "./PaytoWireTransferForm.js";
 import { WalletWithdrawForm } from "./WalletWithdrawForm.js";
 import { EmptyObject, RouteDefinition } from "../route.js";
 import { useTranslationContext } from "@gnu-taler/web-util/browser";
-import { useWithdrawalDetails } from "../hooks/access.js";
+import { useWithdrawalDetails } from "../hooks/account.js";
 import { useEffect } from "preact/hooks";
-import { useBackendState } from "../hooks/backend.js";
+import { useSessionState } from "../hooks/session.js";
 
 function ShowOperationPendingTag({
   woid,
@@ -33,7 +33,7 @@ function ShowOperationPendingTag({
   onOperationAlreadyCompleted?: () => void;
 }): VNode {
   const { i18n } = useTranslationContext();
-  const { state: credentials } = useBackendState();
+  const { state: credentials } = useSessionState();
   const result = useWithdrawalDetails(woid);
   const loading = !result
   const error =
-- 
cgit v1.2.3

