Upgrade to Next.js 15.0.1 (#454)

This commit is contained in:
Jared Palmer 2024-10-23 12:21:30 -04:00 committed by GitHub
parent 00b125378c
commit ac2659255e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 4320 additions and 3538 deletions

View file

@ -7,7 +7,8 @@ import { getChatById } from "@/db/queries";
import { Chat } from "@/db/schema";
import { convertToUIMessages, generateUUID } from "@/lib/utils";
export default async function Page({ params }: { params: any }) {
export default async function Page(props: { params: Promise<any> }) {
const params = await props.params;
const { id } = params;
const chatFromDb = await getChatById({ id });