diff --git a/web/app/api/models/route.ts b/web/app/api/models/route.ts index e9f2f2b2..6e97a7bc 100644 --- a/web/app/api/models/route.ts +++ b/web/app/api/models/route.ts @@ -1,6 +1,6 @@ import models from '../../../../models.json' import { NextResponse } from 'next/server' -export async function GET(re) { +export async function GET() { return NextResponse.json(models) } diff --git a/web/app/layout.tsx b/web/app/layout.tsx index 5a5a02e6..72b6c888 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -5,7 +5,7 @@ export const metadata = { description: 'A tool for running large language models', } -export default function RootLayout({ children }) { +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( {children}