Skip to content

Commit 3c637e5

Browse files
committed
add favicon for notifications back
1 parent 1379c41 commit 3c637e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/nav/common.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { useWalletIndicator } from '@/wallets/client/hooks'
2323
import SwitchAccountList, { nextAccount, useAccounts } from '@/components/account'
2424
import { useShowModal } from '@/components/modal'
2525
import { numWithUnits } from '@/lib/format'
26+
import Head from 'next/head'
2627

2728
export function Brand ({ className }) {
2829
return (
@@ -120,6 +121,9 @@ export function NavNotifications ({ className }) {
120121

121122
return (
122123
<>
124+
<Head>
125+
<link rel='shortcut icon' href={hasNewNotes ? '/favicon-notify.png' : '/favicon.png'} />
126+
</Head>
123127
<Link href='/notifications' passHref legacyBehavior>
124128
<Nav.Link eventKey='notifications' className={classNames('position-relative', className)}>
125129
<NoteIcon height={28} width={20} className='theme' />

0 commit comments

Comments
 (0)