Searching counterparts glitchy when includes @ (nip05) #273

Merged
b merged 6 commits from issue-270 into staging 2024-12-10 15:37:00 +00:00
Showing only changes of commit 69efd9e09d - Show all commits

View File

@ -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
Review

We should apply this hash check instead of pathname to the Footer.tsx as well.

We should apply this hash check instead of pathname to the `Footer.tsx` as well.
location.reload()
} else {
navigate('/')