[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: missing changes
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: missing changes |
Date: |
Wed, 07 Dec 2022 22:23:04 +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 c2a982e57 missing changes
c2a982e57 is described below
commit c2a982e575b532c52514e7343bdd3aaaac655b5f
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Dec 7 18:22:56 2022 -0300
missing changes
---
packages/demobank-ui/src/components/FileButton.tsx | 1 -
packages/demobank-ui/src/components/fields/FileInput.tsx | 1 -
packages/demobank-ui/src/pages/home/AccountPage.tsx | 7 +++----
packages/demobank-ui/src/pages/home/RegistrationPage.tsx | 2 +-
4 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/packages/demobank-ui/src/components/FileButton.tsx
b/packages/demobank-ui/src/components/FileButton.tsx
index 7fad7f03a..61fe0975d 100644
--- a/packages/demobank-ui/src/components/FileButton.tsx
+++ b/packages/demobank-ui/src/components/FileButton.tsx
@@ -29,7 +29,6 @@ export function FileButton(props: Props): VNode {
const f: FileList | null = e.currentTarget.files;
if (!f || f.length != 1) return props.onChange(undefined);
- console.log(f);
if (f[0].size > MAX_IMAGE_UPLOAD_SIZE) {
setSizeError(true);
return props.onChange(undefined);
diff --git a/packages/demobank-ui/src/components/fields/FileInput.tsx
b/packages/demobank-ui/src/components/fields/FileInput.tsx
index 79cd76f30..8c5269039 100644
--- a/packages/demobank-ui/src/components/fields/FileInput.tsx
+++ b/packages/demobank-ui/src/components/fields/FileInput.tsx
@@ -72,7 +72,6 @@ export function FileInput(props: FileInputProps): VNode {
const f: FileList | null = e.currentTarget.files;
if (!f || f.length != 1) return props.onChange(undefined);
- console.log(f);
if (f[0].size > MAX_IMAGE_UPLOAD_SIZE) {
setSizeError(true);
return props.onChange(undefined);
diff --git a/packages/demobank-ui/src/pages/home/AccountPage.tsx
b/packages/demobank-ui/src/pages/home/AccountPage.tsx
index ddb1e663b..f2745e45c 100644
--- a/packages/demobank-ui/src/pages/home/AccountPage.tsx
+++ b/packages/demobank-ui/src/pages/home/AccountPage.tsx
@@ -15,9 +15,8 @@
*/
import { Amounts, HttpStatusCode, Logger } from "@gnu-taler/taler-util";
-import { hooks } from "@gnu-taler/web-util/lib/index.browser";
import { ComponentChildren, Fragment, h, VNode } from "preact";
-import { StateUpdater, useEffect } from "preact/hooks";
+import { useEffect } from "preact/hooks";
import useSWR, { SWRConfig, useSWRConfig } from "swr";
import { useBackendContext } from "../../context/backend.js";
import { PageStateType, usePageContext } from "../../context/pageState.js";
@@ -28,8 +27,8 @@ import { getIbanFromPayto, prepareHeaders } from
"../../utils.js";
import { BankFrame } from "./BankFrame.js";
import { LoginForm } from "./LoginForm.js";
import { PaymentOptions } from "./PaymentOptions.js";
-import { WithdrawalQRCode } from "./TalerWithdrawalQRCode.js";
import { Transactions } from "./Transactions.js";
+import { WithdrawalQRCode } from "./WithdrawalQRCode.js";
export function AccountPage(): VNode {
const backend = useBackendContext();
@@ -118,7 +117,7 @@ function Account({ accountLabel }: { accountLabel: string
}): VNode {
// }
if (typeof error !== "undefined") {
- logger.trace("account error", error, endpoint);
+ logger.error("account error", error, endpoint);
/**
* FIXME: to minimize the code, try only one invocation
* of pageStateSetter, after having decided the error
diff --git a/packages/demobank-ui/src/pages/home/RegistrationPage.tsx
b/packages/demobank-ui/src/pages/home/RegistrationPage.tsx
index 200f63e7c..c91eef7a0 100644
--- a/packages/demobank-ui/src/pages/home/RegistrationPage.tsx
+++ b/packages/demobank-ui/src/pages/home/RegistrationPage.tsx
@@ -200,7 +200,7 @@ async function registrationCall(
headers,
});
} catch (error) {
- logger.trace(
+ logger.error(
`Could not POST new registration to the bank (${registerEndpoint.href})`,
error,
);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: missing changes,
gnunet <=