From e9f8b2166e7d8276f7da07d0a4dddaaab53742ed Mon Sep 17 00:00:00 2001 From: codytseng Date: Thu, 10 Apr 2025 23:06:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PageManager.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PageManager.tsx b/src/PageManager.tsx index 44480871..d2c2ce64 100644 --- a/src/PageManager.tsx +++ b/src/PageManager.tsx @@ -92,7 +92,8 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) { useEffect(() => { if (window.location.pathname !== '/') { if ( - ['/users', '/notes', '/relays'].some((path) => window.location.pathname.startsWith(path)) + ['/users', '/notes', '/relays'].some((path) => window.location.pathname.startsWith(path)) && + !history.state ) { setIsShared(true) }