fix web build

This commit is contained in:
Jeffrey Morgan 2023-07-05 21:15:49 -04:00
parent 39b289c6a8
commit 8cc92447e3
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}

View file

@ -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>