gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix broken build


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix broken build
Date: Mon, 09 Dec 2024 21:18:50 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 11a66ee8d fix broken build
11a66ee8d is described below

commit 11a66ee8d51f22b367b1090814321346dd3afd8f
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Dec 9 17:18:17 2024 -0300

    fix broken build
---
 .../src/wallet/ManageAccount/state.ts                  |  4 ++--
 .../src/wallet/ManageAccount/views.tsx                 | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git 
a/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts 
b/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts
index 53d26fc7b..639830908 100644
--- a/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts
+++ b/packages/taler-wallet-webextension/src/wallet/ManageAccount/state.ts
@@ -15,9 +15,9 @@
  */
 
 import {
-  KnownBankAccountInfo,
   parsePaytoUri,
   stringifyPaytoUri,
+  WalletBankAccountInfo,
 } from "@gnu-taler/taler-util";
 import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
 import { useTranslationContext } from "@gnu-taler/web-util/browser";
@@ -138,7 +138,7 @@ export function useComponentState({
     accountByType[p.targetType].push(acc);
   });
 
-  async function deleteAccount(account: KnownBankAccountInfo): Promise<void> {
+  async function deleteAccount(account: WalletBankAccountInfo): Promise<void> {
     const payto = account.paytoUri;
     await api.wallet.call(WalletApiOperation.ForgetBankAccount, {
       bankAccountId: account.bankAccountId,
diff --git 
a/packages/taler-wallet-webextension/src/wallet/ManageAccount/views.tsx 
b/packages/taler-wallet-webextension/src/wallet/ManageAccount/views.tsx
index 1b023bd83..5216164ec 100644
--- a/packages/taler-wallet-webextension/src/wallet/ManageAccount/views.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/ManageAccount/views.tsx
@@ -16,7 +16,7 @@
 
 import {
   buildPayto,
-  KnownBankAccountInfo,
+  WalletBankAccountInfo,
   parsePaytoUri,
   PaytoUriBitcoin,
   PaytoUriIBAN,
@@ -45,8 +45,8 @@ type ComponentFormByAccountType = {
 
 type ComponentListByAccountType = {
   [type in AccountType]: (props: {
-    list: KnownBankAccountInfo[];
-    onDelete: (a: KnownBankAccountInfo) => Promise<void>;
+    list: WalletBankAccountInfo[];
+    onDelete: (a: WalletBankAccountInfo) => Promise<void>;
   }) => VNode;
 };
 
@@ -180,8 +180,8 @@ function IbanTable({
   list,
   onDelete,
 }: {
-  list: KnownBankAccountInfo[];
-  onDelete: (ac: KnownBankAccountInfo) => void;
+  list: WalletBankAccountInfo[];
+  onDelete: (ac: WalletBankAccountInfo) => void;
 }): VNode {
   const { i18n } = useTranslationContext();
   if (list.length === 0) return <Fragment />;
@@ -259,8 +259,8 @@ function TalerBankTable({
   list,
   onDelete,
 }: {
-  list: KnownBankAccountInfo[];
-  onDelete: (ac: KnownBankAccountInfo) => void;
+  list: WalletBankAccountInfo[];
+  onDelete: (ac: WalletBankAccountInfo) => void;
 }): VNode {
   const { i18n } = useTranslationContext();
   if (list.length === 0) return <Fragment />;
@@ -334,8 +334,8 @@ function BitcoinTable({
   list,
   onDelete,
 }: {
-  list: KnownBankAccountInfo[];
-  onDelete: (ac: KnownBankAccountInfo) => void;
+  list: WalletBankAccountInfo[];
+  onDelete: (ac: WalletBankAccountInfo) => void;
 }): VNode {
   const { i18n } = useTranslationContext();
   if (list.length === 0) return <Fragment />;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]