From ac0dda8278b8950287567e84686d3585460378bc Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 2 Mar 2026 12:35:15 -0800 Subject: [PATCH] Update apps/web/src/routes/__root.tsx Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com> --- apps/web/src/routes/__root.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx index fd31b49536..219a22d84a 100644 --- a/apps/web/src/routes/__root.tsx +++ b/apps/web/src/routes/__root.tsx @@ -133,9 +133,7 @@ function EventRouter() { const lastConfigIssuesSignatureRef = useRef(null); const handledBootstrapThreadIdRef = useRef(null); - useEffect(() => { - pathnameRef.current = pathname; - }, [pathname]); + pathnameRef.current = pathname; useEffect(() => { const api = readNativeApi();