diff --git a/packages/router/src/utils/env.ts b/packages/router/src/utils/env.ts index eb377ab6d..44f787633 100644 --- a/packages/router/src/utils/env.ts +++ b/packages/router/src/utils/env.ts @@ -1 +1 @@ -export const isBrowser = typeof window !== 'undefined' +export const isBrowser = typeof document !== 'undefined'