From eebc64eeff26ea98f6805a219286882e0582234a Mon Sep 17 00:00:00 2001 From: Declan Brady Date: Fri, 19 Jan 2024 12:34:46 -0500 Subject: [PATCH] Added cases for states that hadn't been accounted for --- package/src/forms/UniversalForm.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/src/forms/UniversalForm.jsx b/package/src/forms/UniversalForm.jsx index 674a97c..d0ce15f 100644 --- a/package/src/forms/UniversalForm.jsx +++ b/package/src/forms/UniversalForm.jsx @@ -183,11 +183,14 @@ const componentForStep = (state) => { switch (step) { case "init": case "getGlobalTenantId": + case "initUserfront": + case "initFlow": case "initForm": case "beginFlow": case "showPreviewAndFetchFlow": case "showPlaceholderAndFetchFlow": case "initPasswordReset": + case "handleLoginWithLink": if (canShowFlow) { return { title: strings[type].title, @@ -207,6 +210,7 @@ const componentForStep = (state) => { Component: Placeholder, }; } + case "noFirstFactors": case "disabled": return { title: strings.general.disabled,