@loafmarkets/ui 0.1.19 → 0.1.20

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 CHANGED
@@ -4706,25 +4706,25 @@ var Header = ({
4706
4706
  /* @__PURE__ */ jsxRuntime.jsx(
4707
4707
  NavLink,
4708
4708
  {
4709
- href: resolvedTradePath,
4710
- className: tradeActive ? "active" : "",
4709
+ href: resolvedPortfolioPath,
4710
+ className: portfolioActive ? "active" : "",
4711
4711
  onClick: (event) => {
4712
4712
  event.preventDefault();
4713
- handleTradeNavigation();
4713
+ handleNavigation(resolvedPortfolioPath);
4714
4714
  },
4715
- children: "Trade"
4715
+ children: "Portfolio"
4716
4716
  }
4717
4717
  ),
4718
4718
  /* @__PURE__ */ jsxRuntime.jsx(
4719
4719
  NavLink,
4720
4720
  {
4721
- href: resolvedPortfolioPath,
4722
- className: portfolioActive ? "active" : "",
4721
+ href: resolvedTradePath,
4722
+ className: tradeActive ? "active" : "",
4723
4723
  onClick: (event) => {
4724
4724
  event.preventDefault();
4725
- handleNavigation(resolvedPortfolioPath);
4725
+ handleTradeNavigation();
4726
4726
  },
4727
- children: "Portfolio"
4727
+ children: "Trade"
4728
4728
  }
4729
4729
  ),
4730
4730
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -4801,6 +4801,13 @@ var Header = ({
4801
4801
  /* @__PURE__ */ jsxRuntime.jsx("input", { type: "text", placeholder: "Search..." })
4802
4802
  ] }),
4803
4803
  /* @__PURE__ */ jsxRuntime.jsx(MobileNavItem, { onClick: () => handleNavigation(resolvedHomePath), children: "Home" }),
4804
+ /* @__PURE__ */ jsxRuntime.jsx(
4805
+ MobileNavItem,
4806
+ {
4807
+ onClick: () => handleNavigation(resolvedPortfolioPath),
4808
+ children: "Portfolio"
4809
+ }
4810
+ ),
4804
4811
  /* @__PURE__ */ jsxRuntime.jsx(
4805
4812
  MobileNavItem,
4806
4813
  {
@@ -4810,7 +4817,6 @@ var Header = ({
4810
4817
  children: "Trade"
4811
4818
  }
4812
4819
  ),
4813
- /* @__PURE__ */ jsxRuntime.jsx(MobileNavItem, { onClick: () => handleNavigation(resolvedPortfolioPath), children: "Portfolio" }),
4814
4820
  /* @__PURE__ */ jsxRuntime.jsx(MobileNavItem, { onClick: () => handleNavigation(offeringsHref), children: "Initial Offerings" }),
4815
4821
  /* @__PURE__ */ jsxRuntime.jsx(MobileNavItem, { onClick: () => handleNavigation(resolvedPropertyMapPath), children: "Property Map" }),
4816
4822
  /* @__PURE__ */ jsxRuntime.jsx(MobileNavItem, { onClick: () => handleNavigation(resolvedLearnPath), children: "Learn" }),