From 4e7967dbace6734ac364c30a9dc691c1014bea45 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 13 Jun 2023 16:46:31 -0300
Subject: showing off information about operation plan

---
 .../src/wallet/ExchangeAddPage.tsx                 | 29 ++++++++++++++++------
 1 file changed, 22 insertions(+), 7 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/ExchangeAddPage.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeAddPage.tsx b/packages/taler-wallet-webextension/src/wallet/ExchangeAddPage.tsx
index d8a7c6090..9be12fb28 100644
--- a/packages/taler-wallet-webextension/src/wallet/ExchangeAddPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/ExchangeAddPage.tsx
@@ -59,14 +59,29 @@ export function ExchangeAddPage({ currency, onBack }: Props): VNode {
           if (found) {
             throw Error("This exchange is already known");
           }
-          return queryToSlashKeys(url);
+          return {
+            name: "1",
+            version: "15:0:0",
+            currency: "ARS",
+          };
         }}
-        onConfirm={(url) =>
-          queryToSlashKeys<TalerConfigResponse>(url)
-            .then((config) => {
-              setVerifying({ url, config });
-            })
-            .catch((e) => e.message)
+        onConfirm={
+          async (url) => {
+            setVerifying({
+              url,
+              config: {
+                name: "1",
+                version: "15:0:0",
+                currency: "ARS",
+              },
+            });
+            return undefined;
+          }
+          // queryToSlashKeys<TalerConfigResponse>(url)
+          //   .then((config) => {
+          //     setVerifying({ url, config });
+          //   })
+          //   .catch((e) => e.message)
         }
       />
     );
-- 
cgit v1.2.3

