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 34d28fe commit 2cb7e6cCopy full SHA for 2cb7e6c
app/page.tsx
@@ -2,21 +2,15 @@
2
3
import { EmailThread } from "@/components/EmailThread";
4
import { EmailsProvider } from "@/lib/hooks/use-emails";
5
-import { CopilotKit } from "@copilotkit/react-core";
6
-import "@copilotkit/react-textarea/styles.css";
7
8
export default function Home() {
9
- const publicApiKey = process.env.NEXT_PUBLIC_COPILOT_CLOUD_PUBLIC_API_KEY;
10
-
11
return (
12
<>
13
<div className="h-screen flex flex-col">
14
<div className="flex-1">
15
- <CopilotKit publicApiKey={(publicApiKey as string)}>
16
- <EmailsProvider>
17
- <EmailThread />
18
- </EmailsProvider>
19
- </CopilotKit>
+ <EmailsProvider>
+ <EmailThread />
+ </EmailsProvider>
20
</div>
21
22
</>
0 commit comments