@ory/elements-react 1.0.0-next.27 → 1.0.0-next.28
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/CHANGELOG.md +10 -0
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.js +7 -3
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +7 -3
- package/dist/theme/default/index.mjs.map +1 -1
- package/dist/theme/default/tailwind/defaults.d.mts +737 -0
- package/dist/theme/default/tailwind/defaults.d.ts +737 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -879,12 +879,8 @@ function useOryFormSubmit(onAfterSubmit) {
|
|
|
879
879
|
flowContainer.setFlowContainer(flow);
|
|
880
880
|
methods.reset(computeDefaultValues(flow.flow.ui.nodes));
|
|
881
881
|
};
|
|
882
|
-
const onRedirect = (url,
|
|
883
|
-
|
|
884
|
-
window.location.href = url;
|
|
885
|
-
return;
|
|
886
|
-
}
|
|
887
|
-
window.location.href = url;
|
|
882
|
+
const onRedirect = (url, _external) => {
|
|
883
|
+
window.location.assign(url);
|
|
888
884
|
};
|
|
889
885
|
const onSubmit = async (data) => {
|
|
890
886
|
switch (flowContainer.flowType) {
|