@orderly.network/ui-scaffold 2.8.11 → 2.8.12-alpha.0
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/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -4425,7 +4425,6 @@ var Scaffold = (props) => {
|
|
|
4425
4425
|
};
|
|
4426
4426
|
|
|
4427
4427
|
// src/components/main/mainNav.script.ts
|
|
4428
|
-
var NON_ROUTING_HREFS = ["/vaults"];
|
|
4429
4428
|
var CampaignPositionEnum = /* @__PURE__ */ ((CampaignPositionEnum3) => {
|
|
4430
4429
|
CampaignPositionEnum3["menuLeading"] = "menuLeading";
|
|
4431
4430
|
CampaignPositionEnum3["menuTailing"] = "menuTailing";
|
|
@@ -4450,9 +4449,6 @@ var useMainNavScript = (props) => {
|
|
|
4450
4449
|
}
|
|
4451
4450
|
const current2 = item[item.length - 1];
|
|
4452
4451
|
const isExternalLink = typeof current2.href === "string" && (current2.href.startsWith("http://") || current2.href.startsWith("https://"));
|
|
4453
|
-
if (NON_ROUTING_HREFS.includes(current2.href)) {
|
|
4454
|
-
return;
|
|
4455
|
-
}
|
|
4456
4452
|
if (current2.target) {
|
|
4457
4453
|
window.open(current2.href, current2.target);
|
|
4458
4454
|
return;
|