mirror of
https://github.com/umami-software/umami.git
synced 2026-02-22 05:25: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
|
|
@ -2,7 +2,15 @@ import TeamProvider from './TeamProvider';
|
|||
import { Metadata } from 'next';
|
||||
import TeamSettingsLayout from './settings/TeamSettingsLayout';
|
||||
|
||||
export default function ({ children, params: { teamId } }) {
|
||||
export default async function ({
|
||||
children,
|
||||
params,
|
||||
}: {
|
||||
children: any;
|
||||
params: { teamId: string };
|
||||
}) {
|
||||
const { teamId } = await params;
|
||||
|
||||
return (
|
||||
<TeamProvider teamId={teamId}>
|
||||
<TeamSettingsLayout>{children}</TeamSettingsLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue