gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: remove deprecated


From: gnunet
Subject: [taler-wallet-core] branch master updated: remove deprecated
Date: Tue, 03 Sep 2024 23:51:46 +0200

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 a7f2e37c0 remove deprecated
a7f2e37c0 is described below

commit a7f2e37c0b7a978f3b618ae263730d31906dc906
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Sep 3 18:51:39 2024 -0300

    remove deprecated
---
 packages/kyc-ui/src/hooks/kyc.ts        |  1 -
 packages/kyc-ui/src/pages/SaveToken.tsx | 39 ---------------------------------
 2 files changed, 40 deletions(-)

diff --git a/packages/kyc-ui/src/hooks/kyc.ts b/packages/kyc-ui/src/hooks/kyc.ts
index 2ef1aed5e..38d9b543d 100644
--- a/packages/kyc-ui/src/hooks/kyc.ts
+++ b/packages/kyc-ui/src/hooks/kyc.ts
@@ -20,7 +20,6 @@ import {
 } from "@gnu-taler/taler-util";
 import { useExchangeApiContext } from "@gnu-taler/web-util/browser";
 import _useSWR, { SWRHook, mutate } from "swr";
-import { SessionId } from "./session.js";
 const useSWR = _useSWR as unknown as SWRHook;
 
 export function revalidateKycInfo() {
diff --git a/packages/kyc-ui/src/pages/SaveToken.tsx 
b/packages/kyc-ui/src/pages/SaveToken.tsx
deleted file mode 100644
index 09e1e16a1..000000000
--- a/packages/kyc-ui/src/pages/SaveToken.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- This file is part of GNU Taler
- (C) 2022-2024 Taler Systems S.A.
-
- GNU Taler is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
- */
-
-import { AccessToken } from "@gnu-taler/taler-util";
-import { Loading } from "@gnu-taler/web-util/browser";
-import { h, VNode } from "preact";
-import { useSessionState } from "../hooks/session.js";
-import { useEffect } from "preact/hooks";
-
-interface Props {
-  token: AccessToken;
-  onStarted: () => void;
-}
-export function SaveToken({ token, onStarted }: Props): VNode {
-  const { start } = useSessionState();
-  useEffect(() => {
-    if (token) {
-      start({
-        accessToken: token,
-      });
-      onStarted();
-    }
-  }, [token]);
-
-  return <Loading />;
-}

-- 
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]