Skip to content

Commit c1361ac

Browse files
committed
refactor: remove core pools dash
As per BIP-918, remove dash
1 parent be0c3d1 commit c1361ac

9 files changed

Lines changed: 0 additions & 2974 deletions

File tree

src/components/Dashboard/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ import { isMobile } from 'react-device-detect';
3434
import Emissions from '../../pages/Emissions';
3535
import VotingIncentives from '../../pages/VotingIncentives';
3636
import Reports from "../../pages/Reports";
37-
import CorePools from "../../pages/CorePools";
3837
import ProtocolFees from "../../pages/ProtocolFees";
39-
import CorePool from "../../pages/CorePool";
4038
import IncentiveSimulator from "../../pages/IncentiveSimulator";
4139

4240

@@ -236,8 +234,6 @@ function Dashboard() {
236234
element={<VotingIncentives/>}/>
237235
<Route path={networkPrefix(activeNetwork) + 'incentiveSimulator'}
238236
element={<IncentiveSimulator/>}/>
239-
<Route path={networkPrefix(activeNetwork) + 'corePools'}
240-
element={<CorePools/>}/>
241237
{/* Router v6: no query searches possible anymore. Provide all possible paths */}
242238
<Route path={"/:networkID/pools/:poolId"} element={<PoolPage />} />
243239
<Route path={"/pools/:poolId"} element={<PoolPage />} />
@@ -253,8 +249,6 @@ function Dashboard() {
253249
<Route path={"/financials"} element={<Financials />} />
254250
<Route path={"/protocolFees"} element={<ProtocolFees />} />
255251
<Route path={"/:networkID/protocolFees"} element={<ProtocolFees />} />
256-
<Route path={"/corePool/:poolId"} element={<CorePool />} />
257-
<Route path={"/:networkID/corePool/:poolId"} element={<CorePool />} />
258252
</Routes>
259253
</MainContent>
260254
</Box>

src/components/MenuDrawer/index.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import GitHubIcon from '@mui/icons-material/GitHub';
2121
import TwitterIcon from '@mui/icons-material/Twitter';
2222
import HandshakeIcon from '@mui/icons-material/Handshake';
2323
import ListItemButton from '@mui/material/ListItemButton';
24-
import HubIcon from '@mui/icons-material/Hub';
2524
import ListItemIcon from '@mui/material/ListItemIcon';
2625
import ListItemText from '@mui/material/ListItemText';
2726
import CoingeckoColor from '../../assets/svg/coingecko-color.svg'
@@ -170,12 +169,6 @@ const MenuDrawer = ({
170169
</ListItemIcon>
171170
<ListItemText primary={'BAL Emissions'} />
172171
</ListItemButton>*/}
173-
<ListItemButton key={'Core Pools'} component={NavLink} to={'/' + route + 'corePools'}>
174-
<ListItemIcon>
175-
<HubIcon />
176-
</ListItemIcon>
177-
<ListItemText primary={'Core Pools'} />
178-
</ListItemButton>
179172
<ListItemButton key={'Voting Incentives'} component={NavLink} to={'/' + route + 'voting-incentives'}>
180173
<ListItemIcon>
181174
<Handshake />

0 commit comments

Comments
 (0)