@ory/elements-react 0.0.0-pr.6ecad3e0 → 0.0.0-pr.7dfcd715

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.
@@ -2888,19 +2888,6 @@ function LoginCardFooter() {
2888
2888
  `${config.sdk.url}/self-service/${flowType}/browser`
2889
2889
  );
2890
2890
  }
2891
- if (authMethods.length > 1 && formState.current === "method_active") {
2892
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2893
- "a",
2894
- {
2895
- className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
2896
- href: "",
2897
- "data-testid": "ory/screen/login/mfa/action/selectMethod",
2898
- children: intl.formatMessage({
2899
- id: "login.2fa.method.go-back"
2900
- })
2901
- }
2902
- ) });
2903
- }
2904
2891
  if (flow.refresh || flow.requested_aal === "aal2") {
2905
2892
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
2906
2893
  intl.formatMessage({
@@ -2943,6 +2930,17 @@ function LoginCardFooter() {
2943
2930
  }
2944
2931
  )
2945
2932
  ] }),
2933
+ authMethods.length > 1 && formState.current === "method_active" && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2934
+ "a",
2935
+ {
2936
+ className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
2937
+ href: "",
2938
+ "data-testid": "ory/screen/login/mfa/action/selectMethod",
2939
+ children: intl.formatMessage({
2940
+ id: "login.2fa.method.go-back"
2941
+ })
2942
+ }
2943
+ ) }),
2946
2944
  authMethods.length === 1 && authMethods[0] === "code" && formState.current === "method_active" && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2947
2945
  "a",
2948
2946
  {