Skip to content

Commit a6011ac

Browse files
authored
Merge pull request #142 /leaderboard
uncomment leaderboard & add onyx endpooints
2 parents 09eac11 + cbe7d6c commit a6011ac

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

src/components/Layout/constants.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ export const menuItems: MenuItem[] = [
9999
// icon: 'wpunksOutlined',
100100
// },
101101
// TO BE ACTIVATED ONCE CALCULATOR IS READY
102-
// {
103-
// href: Path.GOVERNANCE_LEADER_BOARD,
104-
// // Translation key: do not remove this comment
105-
// // t('layout.menuItems.xcn')
106-
// i18nKey: 'layout.menuItems.leaderboard',
107-
// i18nTitleKey: 'layout.menuItems.leaderboard',
108-
// isNew: true,
109-
// icon: 'xcnOutlined',
110-
// },
102+
{
103+
href: Path.GOVERNANCE_LEADER_BOARD,
104+
// Translation key: do not remove this comment
105+
// t('layout.menuItems.xcn')
106+
i18nKey: 'layout.menuItems.leaderboard',
107+
i18nTitleKey: 'layout.menuItems.leaderboard',
108+
isNew: true,
109+
icon: 'xcnOutlined',
110+
},
111111
{
112112
href: Path.POINTS,
113113
// Translation key: do not remove this comment

src/constants/endpoints.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const API_ENDPOINT_URLS = {
88
export const API_GOV_ENDPOINT_URLS = {
99
[EthChainId.MAINNET]: 'https://govapi.onyx.org',
1010
[EthChainId.TESTNET]: 'https://testapi.onyx.org/gov',
11+
80888: 'https://govapi.onyx.org',
1112
};
1213

1314
export const RPC_URLS: {

0 commit comments

Comments
 (0)