mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
* init auth stream --> middleware * minor cleanup * fix build * fix github token * minor format * handle access token + GH install key * add prompt to install GH app * fix build * fix gh install token passing * remove console logs * CR * CR * move dep, rm private key string replace * CR minor fixes * Update apps/web/src/providers/client.ts --------- Co-authored-by: Brace Sproul <braceasproul@gmail.com>
23 lines
661 B
TypeScript
23 lines
661 B
TypeScript
"use client";
|
|
|
|
import { Thread } from "@/components/thread";
|
|
import { ThreadProvider } from "@/providers/Thread";
|
|
import { StreamProvider } from "@/providers/Stream";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
import React from "react";
|
|
import { GitHubAppProvider } from "@/providers/GitHubApp";
|
|
|
|
export default function DemoPage(): React.ReactNode {
|
|
return (
|
|
<React.Suspense fallback={<div>Loading (layout)...</div>}>
|
|
<Toaster />
|
|
<GitHubAppProvider>
|
|
<ThreadProvider>
|
|
<StreamProvider>
|
|
<Thread />
|
|
</StreamProvider>
|
|
</ThreadProvider>
|
|
</GitHubAppProvider>
|
|
</React.Suspense>
|
|
);
|
|
}
|