From ca0b3d6ed6f2c26b41a4c7047894c5b9a676aa45 Mon Sep 17 00:00:00 2001 From: Daniel Francesconi Date: Fri, 8 Sep 2023 13:58:38 +0200 Subject: [PATCH] fix: include flow id in uri query params --- examples/react-spa/src/Login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react-spa/src/Login.tsx b/examples/react-spa/src/Login.tsx index 11f2fd909..c1be6e474 100644 --- a/examples/react-spa/src/Login.tsx +++ b/examples/react-spa/src/Login.tsx @@ -35,7 +35,7 @@ export const Login = (): JSX.Element => { // flow contains the form fields and csrf token .then(({ data: flow }) => { // Update URI query params to include flow id - setSearchParams({}) + setSearchParams({ ["flow"]: flow.id }) // Set the flow data setFlow(flow) })