From 1640a0d0d1a155f92b443b851d80c8b83ce3a039 Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Fri, 24 Sep 2021 00:49:49 +0300 Subject: [PATCH] fixes --- components/sidebar/context/SidebarContextRootContainer.vue | 6 +++--- .../sidebar/context/yearn-v2/SidebarYearnV2Supply.vue | 2 +- .../sidebar/context/yearn-v2/SidebarYearnV2Withdraw.vue | 2 +- composables/protocols/useYearnV2Position.ts | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/components/sidebar/context/SidebarContextRootContainer.vue b/components/sidebar/context/SidebarContextRootContainer.vue index 930a322..91827f0 100644 --- a/components/sidebar/context/SidebarContextRootContainer.vue +++ b/components/sidebar/context/SidebarContextRootContainer.vue @@ -2,9 +2,9 @@ -
-
-
+
+
+
diff --git a/components/sidebar/context/yearn-v2/SidebarYearnV2Supply.vue b/components/sidebar/context/yearn-v2/SidebarYearnV2Supply.vue index 21b5e17..0970d01 100644 --- a/components/sidebar/context/yearn-v2/SidebarYearnV2Supply.vue +++ b/components/sidebar/context/yearn-v2/SidebarYearnV2Supply.vue @@ -9,7 +9,7 @@ -
+

Amount to supply

diff --git a/components/sidebar/context/yearn-v2/SidebarYearnV2Withdraw.vue b/components/sidebar/context/yearn-v2/SidebarYearnV2Withdraw.vue index dec1bca..6edefdd 100644 --- a/components/sidebar/context/yearn-v2/SidebarYearnV2Withdraw.vue +++ b/components/sidebar/context/yearn-v2/SidebarYearnV2Withdraw.vue @@ -9,7 +9,7 @@ -
+

Amount to withdraw

diff --git a/composables/protocols/useYearnV2Position.ts b/composables/protocols/useYearnV2Position.ts index 07e4da4..3e3d2ee 100644 --- a/composables/protocols/useYearnV2Position.ts +++ b/composables/protocols/useYearnV2Position.ts @@ -22,7 +22,6 @@ export function useYearnV2Position() { const { onEvent } = useEventBus(); const fetchPosition = async () => { - vaults.value = []; const availableVaults = await $axios .$get("https://api.yearn.finance/v1/chains/1/vaults/all") .then(vs => vs.filter(v => v.type === "v2"));