Skip to content

Commit

Permalink
fix: hide top 100
Browse files Browse the repository at this point in the history
  • Loading branch information
HuberTRoy committed Feb 24, 2024
1 parent f09ece3 commit 1fbfe68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/pages/delegator/Indexers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ import styles from './Indexers.module.css';

const { TOP_INDEXERS, ALL_INDEXERS } = ROUTES;

const buttonLinks = [
{ label: 'Top 100', link: TOP_INDEXERS },
{ label: 'All', link: ALL_INDEXERS },
];
const buttonLinks = [{ label: 'All', link: ALL_INDEXERS }];

export const Indexers: React.FC = () => {
const { t } = useTranslation();
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export const routers: BasicRouteType[] = [
{
path: 'indexers',
component: React.lazy(() => import('../pages/delegator/Indexers')),
redirect: '/delegator/indexers/top',
redirect: '/delegator/indexers/all',
children: [
{ path: 'top', component: React.lazy(() => import('../pages/delegator/TopIndexers/TopIndexers')) },
{ path: 'all', component: React.lazy(() => import('../pages/delegator/AllIndexers/AllIndexers')) },
Expand Down

0 comments on commit 1fbfe68

Please sign in to comment.