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 e080e12 commit 2794a69Copy full SHA for 2794a69
src/react/index.ts
@@ -7,10 +7,6 @@ import { StreamBody, StreamId } from "../client";
7
import { useEffect, useMemo, useRef, useState } from "react";
8
import { FunctionReference } from "convex/server";
9
10
-if (typeof window === "undefined") {
11
- throw new Error("this is frontend code, but it's running somewhere else!");
12
-}
13
-
14
/**
15
* React hook for persistent text streaming.
16
*
0 commit comments