Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit eebc64e

Browse files
committed
Added cases for states that hadn't been accounted for
1 parent 85f2eba commit eebc64e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

package/src/forms/UniversalForm.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,14 @@ const componentForStep = (state) => {
183183
switch (step) {
184184
case "init":
185185
case "getGlobalTenantId":
186+
case "initUserfront":
187+
case "initFlow":
186188
case "initForm":
187189
case "beginFlow":
188190
case "showPreviewAndFetchFlow":
189191
case "showPlaceholderAndFetchFlow":
190192
case "initPasswordReset":
193+
case "handleLoginWithLink":
191194
if (canShowFlow) {
192195
return {
193196
title: strings[type].title,
@@ -207,6 +210,7 @@ const componentForStep = (state) => {
207210
Component: Placeholder,
208211
};
209212
}
213+
case "noFirstFactors":
210214
case "disabled":
211215
return {
212216
title: strings.general.disabled,

0 commit comments

Comments
 (0)