Upgrade to Next.js 15.0.1 (#454)
This commit is contained in:
parent
00b125378c
commit
ac2659255e
9 changed files with 4320 additions and 3538 deletions
|
|
@ -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 });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue