Skip to content

Commit

Permalink
build: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Feb 9, 2024
1 parent 5f2e309 commit f609489
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
3 changes: 3 additions & 0 deletions src/components/LogoPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f609489

Please sign in to comment.