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

Commit 61bd1d2

Browse files
authored
Merge pull request #99 from userfront/dev-635-show-placeholder-when-processing-link
Show placeholder when resolving links
2 parents 7f19975 + 73f2d89 commit 61bd1d2

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@userfront/toolkit",
3-
"version": "1.0.6-alpha.2",
3+
"version": "1.0.6-alpha.3",
44
"description": "Bindings and components for authentication with Userfront with React, Vue, other frameworks, and plain JS + HTML",
55
"type": "module",
66
"directories": {

package/src/forms/UniversalForm.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ const componentForStep = (state) => {
190190
case "showPreviewAndFetchFlow":
191191
case "showPlaceholderAndFetchFlow":
192192
case "initPasswordReset":
193-
case "handleLoginWithLink":
194193
if (canShowFlow) {
195194
return {
196195
title: strings[type].title,
@@ -210,6 +209,10 @@ const componentForStep = (state) => {
210209
Component: Placeholder,
211210
};
212211
}
212+
case "handleLoginWithLink":
213+
return {
214+
Component: Placeholder,
215+
};
213216
case "noFirstFactors":
214217
case "disabled":
215218
return {

0 commit comments

Comments
 (0)