feat: wip

This commit is contained in:
David Nguyen
2023-12-27 13:55:19 +11:00
parent 9d626473c8
commit f4309c1c83
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export type DocumentsPageComponentProps = {
perPage?: string;
senderIds?: string;
};
team?: Team & { teamEmail?: TeamEmail };
team?: Team & { teamEmail?: TeamEmail | null };
};
export default async function DocumentsPageComponent({

View File

@ -43,9 +43,9 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
<UpdateTeamForm teamId={team.id} teamName={team.name} teamUrl={team.url} />
<section className="space-y-6">
<section className="mt-6 space-y-6">
{(team.teamEmail || team.emailVerification) && (
<section className="mt-6 rounded-lg bg-gray-50/70 p-6 pb-2">
<section className="rounded-lg bg-gray-50/70 p-6 pb-2">
<h3 className="font-medium">Team email</h3>
<p className="text-muted-foreground text-sm">