Skip to content

Commit 6604715

Browse files
authored
hide leaderboard on escrow-dashboard (#955)
1 parent fc1326d commit 6604715

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

packages/apps/escrow-dashboard/src/components/Header/Header.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ type NavLink = {
3535
};
3636

3737
const NAV_LINKS: NavLink[] = [
38-
{ title: 'Leaderboard', href: '/leaderboard' },
38+
// { title: 'Leaderboard', href: '/leaderboard' },
3939
{ title: 'KV Store', href: '/kvstore' },
40-
{
41-
title: 'Faucet',
42-
href: '/faucet',
43-
},
40+
{ title: 'Faucet', href: '/faucet' },
4441
{ title: 'HUMAN Website', href: 'https://humanprotocol.org', external: true },
4542
];
4643

packages/apps/escrow-dashboard/src/pages/Main/Main.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { FC } from 'react';
22

33
import {
44
EscrowContainer,
5-
LeaderboardContainer,
5+
// LeaderboardContainer,
66
TokenContainer,
77
SolvedTasksContainer,
88
PageWrapper,
@@ -14,7 +14,7 @@ export const Main: FC = () => {
1414
<SolvedTasksContainer />
1515
<EscrowContainer />
1616
<TokenContainer />
17-
<LeaderboardContainer showAll={false} />
17+
{/* <LeaderboardContainer showAll={false} /> */}
1818
</PageWrapper>
1919
);
2020
};

packages/apps/escrow-dashboard/src/routes/routes.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
Faucet,
66
Kvstore,
77
LeaderDetail,
8-
Leaderboard,
8+
// Leaderboard,
99
Main,
1010
Owner,
1111
Profile,
@@ -27,12 +27,12 @@ export const routes: Array<Route> = [
2727
path: '/',
2828
component: Main,
2929
},
30-
{
31-
key: 'leaderboard-route',
32-
title: 'Leaderboard',
33-
path: '/leaderboard',
34-
component: Leaderboard,
35-
},
30+
// {
31+
// key: 'leaderboard-route',
32+
// title: 'Leaderboard',
33+
// path: '/leaderboard',
34+
// component: Leaderboard,
35+
// },
3636
{
3737
key: 'leader-detail-route',
3838
title: 'Leader',

0 commit comments

Comments
 (0)