Skip to content

Commit 97ec899

Browse files
authored
Merge pull request #1178 from oraidex/hide-co-havest
hide co-havest
2 parents aeac4e0 + 7bc30fa commit 97ec899

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/layouts/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const Menu: React.FC = () => {
178178
{renderLink('/bridge', 'Bridge', setLink, false, <BridgeIcon />)}
179179
{renderLink('/pools', 'Pools', setLink, false, <PoolIcon />)}
180180
{renderLink('/staking', 'Staking', setLink, false, <StakingIcon />)}
181-
{renderLink('/co-harvest', 'Co-Harvest', setLink, false, <CohavestIcon />)}
181+
{/* {renderLink('/co-harvest', 'Co-Harvest', setLink, false, <CohavestIcon />)} */}
182182
{renderLink('/bitcoin-dashboard-v2', 'BTC V2', setLink, false, <BtcDashboardIcon />)}
183183

184184
{!isBeta && renderLink('https://beta.oraidex.io', 'OraiDEX Beta', setLink, true, <OraidexBetaIcon />)}

src/layouts/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const Sidebar: React.FC<{}> = React.memo(() => {
109109
{renderLink('/bridge', 'Bridge', setLink, <BridgeIcon />)}
110110
{renderLink(`/pools`, 'Pools', setLink, <PoolV3Icon />)}
111111
{renderLink('/staking', 'Staking', setLink, <StakingIcon />)}
112-
{renderLink('/co-harvest', 'Co-Harvest', setLink, <CohavestIcon />)}
112+
{/* {renderLink('/co-harvest', 'Co-Harvest', setLink, <CohavestIcon />)} */}
113113
{renderLink('/bitcoin-dashboard-v2', 'BTC V2', setLink, <BtcDashboardIcon />)}
114114

115115
{!isBeta && renderLink('https://beta.oraidex.io', 'OraiDEX Beta', setLink, <OraidexBetaIcon />, true)}

src/routes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Balance = lazy(() => import('pages/Balance'));
77
const PoolsV3 = lazy(() => import('pages/Pool-V3'));
88
const PoolDetail = lazy(() => import('pages/Pools/PoolDetail'));
99
const UniversalSwap = lazy(() => import('pages/UniversalSwap/index'));
10-
const CoHarvest = lazy(() => import('pages/CoHarvest'));
10+
// const CoHarvest = lazy(() => import('pages/CoHarvest'));
1111
const BitcoinDashboardV2 = lazy(() => import('pages/BitcoinDashboardV2'));
1212
const StakingPage = lazy(() => import('pages/Staking'));
1313
const DownloadApp = lazy(() => import('pages/DownloadApp'));
@@ -42,7 +42,7 @@ export default () => (
4242
<Route path="/pools-v3" element={<Navigate to="/pools" replace />} />
4343
<Route path="/pools/v3/:poolId" element={<PoolV3Detail />} />
4444
<Route path="/pools/v2/:poolUrl" element={<PoolDetail />} />
45-
<Route path="/co-harvest" element={<CoHarvest />} />
45+
{/* <Route path="/co-harvest" element={<CoHarvest />} /> */}
4646
<Route path="/bitcoin-dashboard-v2" element={<BitcoinDashboardV2 />} />
4747
<Route path="/download-owallet" element={<DownloadApp />} />
4848
<Route path="/staking" element={<StakingPage />} />

0 commit comments

Comments
 (0)