umami/src/app/(main)/teams/[teamId]/layout.tsx

11 lines
264 B
TypeScript
Raw Normal View History

2024-02-07 18:27:23 +00:00
import TeamProvider from './TeamProvider';
2024-02-17 23:12:14 +00:00
import { Metadata } from 'next';
2024-02-07 04:01:38 +00:00
export default function ({ children, params: { teamId } }) {
return <TeamProvider teamId={teamId}>{children}</TeamProvider>;
}
2024-02-17 23:12:14 +00:00
export const metadata: Metadata = {
title: 'Teams',
};