add favicon for notifications back
This commit is contained in:
parent
1379c419df
commit
3c637e5ec2
@ -23,6 +23,7 @@ import { useWalletIndicator } from '@/wallets/client/hooks'
|
|||||||
import SwitchAccountList, { nextAccount, useAccounts } from '@/components/account'
|
import SwitchAccountList, { nextAccount, useAccounts } from '@/components/account'
|
||||||
import { useShowModal } from '@/components/modal'
|
import { useShowModal } from '@/components/modal'
|
||||||
import { numWithUnits } from '@/lib/format'
|
import { numWithUnits } from '@/lib/format'
|
||||||
|
import Head from 'next/head'
|
||||||
|
|
||||||
export function Brand ({ className }) {
|
export function Brand ({ className }) {
|
||||||
return (
|
return (
|
||||||
@ -120,6 +121,9 @@ export function NavNotifications ({ className }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<Head>
|
||||||
|
<link rel='shortcut icon' href={hasNewNotes ? '/favicon-notify.png' : '/favicon.png'} />
|
||||||
|
</Head>
|
||||||
<Link href='/notifications' passHref legacyBehavior>
|
<Link href='/notifications' passHref legacyBehavior>
|
||||||
<Nav.Link eventKey='notifications' className={classNames('position-relative', className)}>
|
<Nav.Link eventKey='notifications' className={classNames('position-relative', className)}>
|
||||||
<NoteIcon height={28} width={20} className='theme' />
|
<NoteIcon height={28} width={20} className='theme' />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user