@insforge/react 0.6.6 → 0.6.8

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.
@@ -12,7 +12,7 @@ function useNavigationAdapter() {
12
12
  if (!adapter) {
13
13
  return {
14
14
  useSearchParams: () => new URLSearchParams(),
15
- Link: ({ href, children }) => /* @__PURE__ */ jsx("a", { href, children })
15
+ Link: ({ href, children, className }) => /* @__PURE__ */ jsx("a", { href, className, children })
16
16
  };
17
17
  }
18
18
  return adapter;
@@ -520,7 +520,7 @@ function AuthOAuthButton({
520
520
  style,
521
521
  children: [
522
522
  loading ? /* @__PURE__ */ jsx(Loader2, { className: "if-oauthButton-icon if-submitButton-spinner", size: 18 }) : /* @__PURE__ */ jsx("span", { className: "if-oauthButton-icon", children: config.svg }),
523
- getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
523
+ !loading && getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
524
524
  ]
525
525
  }
526
526
  );