From 0b3c4861c854f6e44d5e5c535931aedca0896ffd Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:57:40 +0100 Subject: [PATCH] Update packages/elements-react/src/context/form-state.ts --- packages/elements-react/src/context/form-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/elements-react/src/context/form-state.ts b/packages/elements-react/src/context/form-state.ts index 0a84e9f7..69ef2aee 100644 --- a/packages/elements-react/src/context/form-state.ts +++ b/packages/elements-react/src/context/form-state.ts @@ -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) {