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 336fb91 commit 25975ffCopy full SHA for 25975ff
example/ui/main.tsx
@@ -9,14 +9,18 @@ import FilesImages from "./files/FilesImages";
9
import RateLimiting from "./rate_limiting/RateLimiting";
10
import { WeatherFashion } from "./workflows/WeatherFashion";
11
import RagBasic from "./rag/RagBasic";
12
+import { StrictMode } from "react";
13
import StreamArray from "./objects/StreamArray";
14
15
const convex = new ConvexReactClient(import.meta.env.VITE_CONVEX_URL as string);
16
17
createRoot(document.getElementById("root")!).render(
- <ConvexProvider client={convex}>
18
- <App />
19
- </ConvexProvider>,
+ <StrictMode>
+ <ConvexProvider client={convex}>
20
+ <App />
21
+ </ConvexProvider>
22
+ ,
23
+ </StrictMode>,
24
);
25
26
export function App() {
0 commit comments