Skip to content

Commit

Permalink
Update packages/elements-react/src/context/form-state.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Dec 18, 2024
1 parent 6409dec commit 0b3c486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/elements-react/src/context/form-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function parseStateFromFlow(flow: OryFlowContainer): FormState {
) {
return { current: "method_active", method: flow.flow.active }
} else if (isChoosingMethod(flow.flow.ui.nodes)) {
// Login has a special case where we only have one method. Here, we
// Login and registration have a special case where we only have one method. Here, we
// do not want to display the chooser.
const authMethods = nodesToAuthMethodGroups(flow.flow.ui.nodes)
if (authMethods.length === 1) {
Expand Down

0 comments on commit 0b3c486

Please sign in to comment.