mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
next.js 15 sync-dynamic-apis update
This commit is contained in:
parent
1c377bcdc3
commit
dfc13ced55
18 changed files with 71 additions and 19 deletions
|
|
@ -1,7 +1,9 @@
|
|||
import UserPage from './UserPage';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function ({ params: { userId } }) {
|
||||
export default async function ({ params }: { params: { userId: string } }) {
|
||||
const { userId } = await params;
|
||||
|
||||
return <UserPage userId={userId} />;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue