We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c9417 commit 310a353Copy full SHA for 310a353
src/shared.ts
@@ -280,10 +280,5 @@ export interface _ResolveRejectFn {
280
* @internal
281
*/
282
export function isSSR(): boolean {
283
- return (
284
- !!inject(ssrContextKey, null) ||
285
- // in case the function is called outside of a composable
286
- // @ts-expect-error
287
- import.meta.env?.SSR
288
- )
+ return !!inject(ssrContextKey, null)
289
}
0 commit comments