From 6e93d42023a61f638d7a83c50083a18040f136c1 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 fd31b495361f3dc240d5537b1b0fc72d1ab16ea1..219a22d84ab141a93715f780bf258d2492fab491 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(); -- 2.54.0