@asgardeo/react 0.6.24 → 0.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +2 -6
- package/dist/cjs/index.js.map +2 -2
- package/dist/index.js +2 -7
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -7150,12 +7150,8 @@ var createAuthComponentFromFlow = (component, formValues, touchedFields, formErr
|
|
|
7150
7150
|
return null;
|
|
7151
7151
|
}
|
|
7152
7152
|
default:
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
`${authType === "signin" ? "SignIn" : "SignUp"}-UnsupportedComponentType-001`,
|
|
7156
|
-
"react",
|
|
7157
|
-
`Something went wrong while rendering the ${authType} component. Please try again later.`
|
|
7158
|
-
);
|
|
7153
|
+
console.warn(`Unsupported component type: ${component.type}. Skipping render.`);
|
|
7154
|
+
return null;
|
|
7159
7155
|
}
|
|
7160
7156
|
};
|
|
7161
7157
|
var renderSignInComponents = (components, formValues, touchedFields, formErrors, isLoading, isFormValid, onInputChange, options) => components.map(
|