Skip to content

Commit 2cb7e6c

Browse files
minimal starting point
1 parent 34d28fe commit 2cb7e6c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

app/page.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@
22

33
import { EmailThread } from "@/components/EmailThread";
44
import { EmailsProvider } from "@/lib/hooks/use-emails";
5-
import { CopilotKit } from "@copilotkit/react-core";
6-
import "@copilotkit/react-textarea/styles.css";
75

86
export default function Home() {
9-
const publicApiKey = process.env.NEXT_PUBLIC_COPILOT_CLOUD_PUBLIC_API_KEY;
10-
117
return (
128
<>
139
<div className="h-screen flex flex-col">
1410
<div className="flex-1">
15-
<CopilotKit publicApiKey={(publicApiKey as string)}>
16-
<EmailsProvider>
17-
<EmailThread />
18-
</EmailsProvider>
19-
</CopilotKit>
11+
<EmailsProvider>
12+
<EmailThread />
13+
</EmailsProvider>
2014
</div>
2115
</div>
2216
</>

0 commit comments

Comments
 (0)