rename aave2 route paths

This commit is contained in:
Georges KABBOUCHI 2021-08-21 22:06:27 +03:00
parent c52e2ac78c
commit 27cca10cc5
3 changed files with 7 additions and 15 deletions

View File

@ -40,19 +40,11 @@ const sidebars = {
"#overview" : {component: SidebarOverview, back : false, close : true },
"#deposit-overview": {component: SidebarDepositOverview, back: { hash: 'overview' } },
'#withdraw-token': { component: SidebarWithdraw, back: { hash: 'overview' } },
"/polygon/aave-v2": { component: null },
"/polygon/aave-v2#supply": { component: SidebarAaveV2Supply },
"/polygon/aave-v2#borrow": { component: SidebarAaveV2Borrow },
"/polygon/aave-v2#payback": { component: SidebarAaveV2Payback },
"/polygon/aave-v2#withdraw": { component: SidebarAaveV2Withdraw },
"/mainnet/aave-v2": { component: null },
"/mainnet/aave-v2#supply": { component: SidebarAaveV2Supply },
"/mainnet/aave-v2#borrow": { component: SidebarAaveV2Borrow },
"/mainnet/aave-v2#payback": { component: SidebarAaveV2Payback },
"/mainnet/aave-v2#withdraw": { component: SidebarAaveV2Withdraw },
"/aave-v2": { component: null },
"/aave-v2#supply": { component: SidebarAaveV2Supply },
"/aave-v2#borrow": { component: SidebarAaveV2Borrow },
"/aave-v2#payback": { component: SidebarAaveV2Payback },
"/aave-v2#withdraw": { component: SidebarAaveV2Withdraw },
"/mainnet/compound": { component: null },
"/mainnet/compound#withdraw": { component: SidebarCompoundWithdraw },

View File

@ -44,7 +44,7 @@ const appsPerNetwork = {
id: "aave-v2",
icon: AaveIcon,
name: "Aave v2",
url: "/mainnet/aave-v2",
url: "/aave-v2",
description: "Money Market"
},
{
@ -81,7 +81,7 @@ const appsPerNetwork = {
id: "aave-v2",
icon: AaveIcon,
name: "Aave v2",
url: "/polygon/aave-v2",
url: "/aave-v2",
description: "Lend and borrow straight from your Gnosis Safe"
},
{