1
- import {
2
- AnalyticsOutlined ,
3
- GitHub ,
4
- ReceiptLongOutlined ,
5
- SyncAltOutlined ,
6
- } from '@mui/icons-material' ;
1
+ import { GitHub , ReceiptLongOutlined , SyncAltOutlined } from '@mui/icons-material' ;
7
2
import { AppBar , Box , Button , Hidden , IconButton , Toolbar , Typography } from '@mui/material' ;
8
3
import { contracts } from '@wormhole-foundation/sdk-base' ;
9
4
import { NavLink , Route , Switch , useLocation } from 'react-router-dom' ;
@@ -15,7 +10,6 @@ import WormholeStatsIcon from '../icons/WormholeStatsIcon';
15
10
import Alerts from './Alerts' ;
16
11
import Contracts from './Contracts' ;
17
12
import Home from './Home' ;
18
- import Metrics from './Metrics' ;
19
13
import NTTMetrics from './NTTMetrics' ;
20
14
import NetworkSelector from './NetworkSelector' ;
21
15
import Settings from './Settings' ;
@@ -68,27 +62,6 @@ function NavLinks() {
68
62
< Typography variant = "h6" > Contracts</ Typography >
69
63
</ Hidden >
70
64
</ NavLink >
71
- < NavLink
72
- to = { `/metrics${ search } ` }
73
- exact
74
- component = { NavButton }
75
- color = "inherit"
76
- activeStyle = { { borderBottom : '2px solid' , paddingBottom : 4 } }
77
- style = { {
78
- paddingRight : 8 ,
79
- marginLeft : 8 ,
80
- textTransform : 'none' ,
81
- borderRadius : 0 ,
82
- minWidth : 0 ,
83
- } }
84
- >
85
- < Hidden mdUp >
86
- < AnalyticsOutlined />
87
- </ Hidden >
88
- < Hidden mdDown >
89
- < Typography variant = "h6" > Metrics</ Typography >
90
- </ Hidden >
91
- </ NavLink >
92
65
< NavLink
93
66
to = { `/ntt-metrics${ search } ` }
94
67
exact
@@ -152,9 +125,6 @@ function Main() {
152
125
< Route path = "/ntt-metrics" >
153
126
< NTTMetrics />
154
127
</ Route >
155
- < Route path = "/metrics" >
156
- < Metrics />
157
- </ Route >
158
128
< Route path = "/contracts" >
159
129
< Contracts />
160
130
</ Route >
0 commit comments