diff --git a/layouts/default.vue b/layouts/default.vue index d60dd84..10d7dd1 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -9,7 +9,17 @@ class="px-8 md:px-4 max-w-6xl mx-auto" :class="{ 'text-center': !active, 'py-12': active }" > - +
+

+ Assembly doesn't support DSA v1 +

+

+ Please create or switch to DSA v2. +

+
+ @@ -95,6 +105,7 @@ import { useNetwork } from "~/composables/useNetwork"; import { useModal } from "~/composables/useModal"; import { useEagerConnect } from "~/composables/useEagerConnect"; import Web3Modal from "~/components/modal/web3/Web3Modal.vue"; +import { useDSA } from "~/composables/useDSA"; export default defineComponent({ components: { @@ -105,6 +116,7 @@ export default defineComponent({ }, setup() { const { active, activate, deactivate, chainId } = useWeb3(); + const { activeAccount } = useDSA(); const { activeNetworkId, activeNetwork, checkForNetworkMismatch } = useNetwork(); const { isShown: isBackdropShown, close: closeBackdrop } = useBackdrop() const { redirect } = useContext() @@ -154,6 +166,7 @@ export default defineComponent({ }) return { + activeAccount, active, activate, deactivate, diff --git a/pages/index.vue b/pages/index.vue index 6fb440b..6b4fa9b 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -89,7 +89,7 @@ const appsPerNetwork = { icon: YearnIcon, name: "Yearn", url: "/mainnet/yearn-v2", - description: "" + description: "Automated Yield Strategies" } ], polygon: [