Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Update apps/web/src/routes/__root.tsx

Julius Marminge6e93d42023a6
diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx
index fd31b4953..219a22d84 100644
--- a/apps/web/src/routes/__root.tsx
+++ b/apps/web/src/routes/__root.tsx
@@ -133,9 +133,7 @@ function EventRouter() {
const lastConfigIssuesSignatureRef = useRef<string | null>(null);
const handledBootstrapThreadIdRef = useRef<string | null>(null);
- useEffect(() => {
- pathnameRef.current = pathname;
- }, [pathname]);
+ pathnameRef.current = pathname;
useEffect(() => {
const api = readNativeApi();