Refactored teams components.
This commit is contained in:
15
src/app/(main)/settings/teams/[teamId]/team/page.tsx
Normal file
15
src/app/(main)/settings/teams/[teamId]/team/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import Team from './Team';
|
||||
import TeamProvider from 'app/(main)/teams/[teamId]/TeamProvider';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function ({ params: { teamId } }) {
|
||||
return (
|
||||
<TeamProvider teamId={teamId}>
|
||||
<Team teamId={teamId} />
|
||||
</TeamProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Teams Settings - Umami',
|
||||
};
|
||||
Reference in New Issue
Block a user