Skip to content

Commit

Permalink
hide ephemery tab
Browse files Browse the repository at this point in the history
  • Loading branch information
mateumiralles committed Oct 30, 2024
1 parent fbce696 commit 8815a7d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions packages/admin-ui/src/pages/stakers/components/StakersRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,17 @@ const StakersRoot: React.FC = () => {

<div className="horizontal-navbar">
{/* Render the staker tabs, excluding "Prater" which is hidden due to deprecation */}
{filteredStakersItems.map((route) => (
<button key={route.subPath} className="item-container">
<NavLink to={route.subPath} className="item no-a-style" style={{ whiteSpace: "nowrap" }}>
{route.title}
</NavLink>
</button>
))}
{filteredStakersItems.map(
(route) =>
// hide "ephemery" tab until clients and pkgs are published
route.subPath !== "ephemery" && (
<button key={route.subPath} className="item-container">
<NavLink to={route.subPath} className="item no-a-style" style={{ whiteSpace: "nowrap" }}>
{route.title}
</NavLink>
</button>
)
)}
</div>

<div className="section-spacing">
Expand Down

0 comments on commit 8815a7d

Please sign in to comment.