Skip to content

Commit

Permalink
Hide fees tab on tinlake pools (#2205)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn authored Jun 6, 2024
1 parent 18f7c01 commit 3497def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/IssuerPool/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function IssuerPoolHeader({ actions }: Props) {
<NavigationTabsItem to={`${basePath}/${pid}/configuration`}>Configuration</NavigationTabsItem>
<NavigationTabsItem to={`${basePath}/${pid}/access`}>Access</NavigationTabsItem>
{showOracle && <NavigationTabsItem to={`${basePath}/${pid}/pricing`}>Pricing</NavigationTabsItem>}
<NavigationTabsItem to={`${basePath}/${pid}/fees`}>Fees</NavigationTabsItem>
{!isTinlakePool && <NavigationTabsItem to={`${basePath}/${pid}/fees`}>Fees</NavigationTabsItem>}
</NavigationTabs>
</IssuerHeader>
)
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Pool/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const PoolDetailHeader: React.FC<Props> = ({ actions }) => {
<NavigationTabsItem to={`${basePath}/${pid}/assets`}>Assets</NavigationTabsItem>
<NavigationTabsItem to={`${basePath}/${pid}/liquidity`}>Liquidity</NavigationTabsItem>
{!isTinlakePool && <NavigationTabsItem to={`${basePath}/${pid}/reporting`}>Reporting</NavigationTabsItem>}
<NavigationTabsItem to={`${basePath}/${pid}/fees`}>Fees</NavigationTabsItem>
{!isTinlakePool && <NavigationTabsItem to={`${basePath}/${pid}/fees`}>Fees</NavigationTabsItem>}
</NavigationTabs>
</Shelf>
</PageHeader>
Expand Down

0 comments on commit 3497def

Please sign in to comment.