Skip to content

Commit

Permalink
fix: include flow id in uri query params
Browse files Browse the repository at this point in the history
  • Loading branch information
francesconi committed Sep 8, 2023
1 parent b77c75b commit ca0b3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/react-spa/src/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit ca0b3d6

Please sign in to comment.