benchmarks / app /compare /layout.js
vincelwt's picture
Update V2
7e5cb25 unverified
raw
history blame contribute delete
386 Bytes
import { getModels } from "@/utils/db"
import SelectModels from "@/components/SelectModels"
import { Suspense } from "react"
export default async function CompareLayout({ children }) {
const models = await getModels()
return (
<>
<SelectModels models={models} />
<br />
<br />
<Suspense fallback={<p>Loading...</p>}>{children}</Suspense>
</>
)
}