From 684e5021f218dd78ba9d464cab489a2f315cc9ae Mon Sep 17 00:00:00 2001 From: Majorfi Date: Mon, 4 Mar 2024 10:30:29 +0100 Subject: [PATCH] build: bump --- package.json | 2 +- src/components/LogoPopover.tsx | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index ef292c10..a12ea041 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yearn-finance/web-lib", - "version": "3.0.173", + "version": "3.0.175", "main": "./dist/index.js", "types": "./dist/index.d.js", "files": [ diff --git a/src/components/LogoPopover.tsx b/src/components/LogoPopover.tsx index fa23fbe6..a5335050 100644 --- a/src/components/LogoPopover.tsx +++ b/src/components/LogoPopover.tsx @@ -76,12 +76,6 @@ export function LogoPopover(): ReactElement { // eslint-disable-next-line react-hooks/exhaustive-deps }, [typeof window, isMounted]); - const currentApp = useMemo(() => { - return Object.values(APPS).find(({host}): boolean => { - return host.includes(currentHost); - }); - }, [currentHost]); - const isVaultPage = useMemo(() => { if (typeof window === 'undefined') { return false; @@ -134,9 +128,7 @@ export function LogoPopover(): ReactElement {
{[...Object.values(APPS)]