e30e75b5d4
Code Quality / Oxlint + Oxfmt (push) Waiting to run
Code Quality / Template Sync (push) Waiting to run
Code Quality / Build Changed Packages (push) Waiting to run
Code Quality / Test Changed Packages (push) Waiting to run
Deploy Expo Example / Deploy Production (push) Waiting to run
Deploy Ink Example / Deploy Production (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.12) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Waiting to run
Deploy Shadcn Registry / Deploy Production (push) Waiting to run
Template Metrics / LOC + Bundle Size (push) Waiting to run
Changesets / Create Version PR (push) Has been cancelled
24 lines
549 B
TypeScript
24 lines
549 B
TypeScript
import type { Metadata } from "next";
|
|
import { MyRuntimeProvider } from "@/app/MyRuntimeProvider";
|
|
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "assistant-ui virtualized thread",
|
|
description: "Long threads with @tanstack/react-virtual",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<MyRuntimeProvider>
|
|
<html lang="en" className="h-dvh">
|
|
<body className="h-dvh font-sans">{children}</body>
|
|
</html>
|
|
</MyRuntimeProvider>
|
|
);
|
|
}
|