umami/src/app/(main)/settings/teams/[teamId]/websites/TeamWebsitesPage.tsx

18 lines
490 B
TypeScript
Raw Normal View History

2024-02-06 04:29:00 +00:00
'use client';
import TeamWebsitesDataTable from './TeamWebsitesDataTable';
import PageHeader from 'components/layout/PageHeader';
import { useMessages } from 'components/hooks';
2024-02-06 07:59:33 +00:00
export function TeamWebsitesPage({ teamId }: { teamId: string }) {
2024-02-06 04:29:00 +00:00
const { formatMessage, labels } = useMessages();
return (
2024-02-07 04:01:38 +00:00
<>
2024-02-06 04:29:00 +00:00
<PageHeader title={formatMessage(labels.websites)} />
<TeamWebsitesDataTable teamId={teamId} allowEdit={true} />
2024-02-07 04:01:38 +00:00
</>
2024-02-06 04:29:00 +00:00
);
}
2024-02-06 07:59:33 +00:00
export default TeamWebsitesPage;