Searching counterparts glitchy when includes @ (nip05) #273
@ -125,7 +125,7 @@ export const AppBar = () => {
|
||||
src="/logo.svg"
|
||||
alt="Logo"
|
||||
onClick={() => {
|
||||
if (window.location.pathname === '/') {
|
||||
if (['', '#/'].includes(window.location.hash)) {
|
||||
m marked this conversation as resolved
|
||||
location.reload()
|
||||
} else {
|
||||
navigate('/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user
We should apply this hash check instead of pathname to the
Footer.tsx
as well.