@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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -881,12 +881,8 @@ function useOryFormSubmit(onAfterSubmit) {
|
|
|
881
881
|
flowContainer.setFlowContainer(flow);
|
|
882
882
|
methods.reset(computeDefaultValues(flow.flow.ui.nodes));
|
|
883
883
|
};
|
|
884
|
-
const onRedirect = (url,
|
|
885
|
-
|
|
886
|
-
window.location.href = url;
|
|
887
|
-
return;
|
|
888
|
-
}
|
|
889
|
-
window.location.href = url;
|
|
884
|
+
const onRedirect = (url, _external) => {
|
|
885
|
+
window.location.assign(url);
|
|
890
886
|
};
|
|
891
887
|
const onSubmit = async (data) => {
|
|
892
888
|
switch (flowContainer.flowType) {
|