Skip to content

Commit

Permalink
build: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Mar 4, 2024
1 parent 0bfd267 commit 684e502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
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.173",
"version": "3.0.175",
"main": "./dist/index.js",
"types": "./dist/index.d.js",
"files": [
Expand Down
10 changes: 1 addition & 9 deletions src/components/LogoPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -134,9 +128,7 @@ export function LogoPopover(): ReactElement {
<div
className={cl(
'relative grid grid-cols-2 gap-2 border p-6 md:grid-cols-5 rounded',
currentApp?.name === 'V3 Vaults'
? 'bg-[#000520] border-neutral-200/60'
: 'bg-[#F4F4F4] dark:bg-neutral-100 border-transparent'
'bg-[#F4F4F4] dark:bg-neutral-100 border-transparent'
)}>
<div className={'col-span-3 grid grid-cols-2 gap-2 md:grid-cols-3'}>
{[...Object.values(APPS)]
Expand Down

0 comments on commit 684e502

Please sign in to comment.