From 82b8e83ca635bd27954565e2c29c77e0a75b3fc0 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 22 Apr 2024 12:50:25 -0300
Subject: fix #8398

---
 packages/challenger-ui/src/pages/Setup.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/challenger-ui/src/pages/Setup.tsx')

diff --git a/packages/challenger-ui/src/pages/Setup.tsx b/packages/challenger-ui/src/pages/Setup.tsx
index 400c9b780..f431835aa 100644
--- a/packages/challenger-ui/src/pages/Setup.tsx
+++ b/packages/challenger-ui/src/pages/Setup.tsx
@@ -36,7 +36,7 @@ export function Setup({ clientId, onCreated }: Props): VNode {
 
   const onStart = withErrorHandler(
     async () => {
-      return lib.bank.setup(clientId, "secret-token:chal-secret" as AccessToken);
+      return lib.challenger.setup(clientId, "secret-token:chal-secret" as AccessToken);
     },
     (ok) => {
       start({
-- 
cgit v1.2.3

