Selaa lähdekoodia

fix web build

Jeffrey Morgan 1 vuosi sitten
vanhempi
commit
8cc92447e3
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      web/app/api/models/route.ts
  2. 1 1
      web/app/layout.tsx

+ 1 - 1
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)
 }

+ 1 - 1
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 (
     <html lang='en'>
       <body>{children}</body>