mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
`window` exists on React Native (aliased to `global`) but `window.location` is undefined, so reading `window.location.pathname` threw and killed the redirect effect — leaving the host index route stuck rendering null (blank screen). Use the `pathname` from `usePathname()` directly, restoring the pre-refactor behavior that worked on both web and native.