| ... | @@ -133,9 +133,7 @@ function EventRouter() { | ... | @@ -133,9 +133,7 @@ function EventRouter() { |
| 133 | const lastConfigIssuesSignatureRef = useRef<string | null>(null); | 133 | const lastConfigIssuesSignatureRef = useRef<string | null>(null); |
| 134 | const handledBootstrapThreadIdRef = useRef<string | null>(null); | 134 | const handledBootstrapThreadIdRef = useRef<string | null>(null); |
| 135 | | 135 | |
| 136 | useEffect(() => { | 136 | pathnameRef.current = pathname; |
| 137 | pathnameRef.current = pathname; | | |
| 138 | }, [pathname]); | | |
| 139 | | 137 | |
| 140 | useEffect(() => { | 138 | useEffect(() => { |
| 141 | const api = readNativeApi(); | 139 | const api = readNativeApi(); |