From a206b5c782fee4f1cac28b607081bf59d5f43cf7 Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Fri, 20 Dec 2024 14:28:20 -0500 Subject: [PATCH] Configure slot consent (#1202) --- packages/keychain/src/components/app.tsx | 3 ++- packages/keychain/src/components/slot/consent.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/keychain/src/components/app.tsx b/packages/keychain/src/components/app.tsx index e8e112fd2..f5e24c1c2 100644 --- a/packages/keychain/src/components/app.tsx +++ b/packages/keychain/src/components/app.tsx @@ -5,7 +5,7 @@ import { Session } from "./session"; import { Failure } from "./failure"; import { Success } from "./success"; import { Pending } from "./pending"; -import { Slot } from "./slot"; +import { Consent, Slot } from "./slot"; export function App() { return ( @@ -14,6 +14,7 @@ export function App() { } /> } /> } /> + } /> } /> } /> } /> diff --git a/packages/keychain/src/components/slot/consent.tsx b/packages/keychain/src/components/slot/consent.tsx index 5db4db27f..1ff4d90e5 100644 --- a/packages/keychain/src/components/slot/consent.tsx +++ b/packages/keychain/src/components/slot/consent.tsx @@ -25,7 +25,7 @@ export function Consent() { useEffect(() => { if (!Controller.fromStore(import.meta.env.VITE_ORIGIN!)) { - navigate("/slot", { replace: true }); + navigate("/slot/auth", { replace: true }); } }, [navigate]);