From f609489e3f01199013a5406a40ef4b476438a266 Mon Sep 17 00:00:00 2001 From: Majorfi Date: Fri, 9 Feb 2024 14:17:52 +0100 Subject: [PATCH] build: bump --- package.json | 2 +- src/components/LogoPopover.tsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ce70a28..d1feebd0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yearn-finance/web-lib", - "version": "3.0.139", + "version": "3.0.140", "main": "./dist/index.js", "types": "./dist/index.d.js", "files": [ diff --git a/src/components/LogoPopover.tsx b/src/components/LogoPopover.tsx index 7dfe6500..3528ea34 100644 --- a/src/components/LogoPopover.tsx +++ b/src/components/LogoPopover.tsx @@ -101,6 +101,9 @@ export function LogoPopover(): ReactElement { const currentApp = useMemo(() => { return Object.values(APPS).find(({host}): boolean => { if (isYearnFi) { + if (typeof window === 'undefined') { + return false; + } return window.location.pathname.includes(host); } return currentHost.includes(host);