From 49879eba52de45b40b9f6f2fb7803a0f7f5ce019 Mon Sep 17 00:00:00 2001
From: Abhishek <77395788+abhishek-01k@users.noreply.github.com>
Date: Fri, 27 Sep 2024 16:18:17 +0800
Subject: [PATCH] Added redirect link for Yield Farming (#1876)
---
src/config/AppPaths.ts | 3 ++-
src/config/NavigationList.js | 2 +-
src/structure/MasterInterfacePage.tsx | 5 ++++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/config/AppPaths.ts b/src/config/AppPaths.ts
index 471ee4ee21..653953dcd6 100644
--- a/src/config/AppPaths.ts
+++ b/src/config/AppPaths.ts
@@ -20,6 +20,7 @@ enum APP_PATHS {
Govern = '/govern',
Snap = '/snap',
YieldV2 = '/yieldv2',
+ Yield = '/yield',
Rockstar = '/rockstar',
Gratitude = '/gratitude',
LiveWalkthrough = '/live_walkthrough',
@@ -30,7 +31,7 @@ enum APP_PATHS {
Support = '/support',
UserSettings = '/user/settings',
ChannelSettings = '/channel/settings',
- ClaimGalxe = 'claim/galxe'
+ ClaimGalxe = 'claim/galxe',
}
export default APP_PATHS;
diff --git a/src/config/NavigationList.js b/src/config/NavigationList.js
index 9753135b25..f1d92f7d28 100644
--- a/src/config/NavigationList.js
+++ b/src/config/NavigationList.js
@@ -179,7 +179,7 @@ const NavigationList = {
name: 'Yield Farming V2',
title: 'Yield Farming V2',
alt: 'Open Yield Farming V2',
- href: APP_PATHS.YieldV2,
+ href: APP_PATHS.Yield,
newTab: false,
isRoute: true,
hasMenuLogic: true,
diff --git a/src/structure/MasterInterfacePage.tsx b/src/structure/MasterInterfacePage.tsx
index 3aa5d59373..8ea8cf99a7 100644
--- a/src/structure/MasterInterfacePage.tsx
+++ b/src/structure/MasterInterfacePage.tsx
@@ -280,9 +280,12 @@ function MasterInterfacePage() {
element={}
/>
- {/* } /> */}
}
+ />
+ }
/>