@erikey/react 0.4.34 → 0.4.35
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/ui/index.mjs
CHANGED
|
@@ -15503,13 +15503,24 @@ function AuthFlow({
|
|
|
15503
15503
|
handleNavigate(href);
|
|
15504
15504
|
}
|
|
15505
15505
|
};
|
|
15506
|
+
if (mode === "internal" && isAuthPath(href)) {
|
|
15507
|
+
return /* @__PURE__ */ jsx38(
|
|
15508
|
+
"a",
|
|
15509
|
+
{
|
|
15510
|
+
href,
|
|
15511
|
+
className: linkClassName,
|
|
15512
|
+
onClick: handleClick,
|
|
15513
|
+
...rest,
|
|
15514
|
+
children
|
|
15515
|
+
}
|
|
15516
|
+
);
|
|
15517
|
+
}
|
|
15506
15518
|
if (ExternalLink) {
|
|
15507
15519
|
return /* @__PURE__ */ jsx38(
|
|
15508
15520
|
ExternalLink,
|
|
15509
15521
|
{
|
|
15510
15522
|
href,
|
|
15511
15523
|
className: linkClassName,
|
|
15512
|
-
onClick: handleClick,
|
|
15513
15524
|
...rest,
|
|
15514
15525
|
children
|
|
15515
15526
|
}
|