continued the kita-planer

This commit is contained in:
t.indorf
2026-05-08 14:32:14 +02:00
parent b686e714ff
commit 7aff691803
85 changed files with 9434 additions and 588 deletions
+2 -3
View File
@@ -48,8 +48,7 @@ export default async function InvitePage({
select: {
firstName: true,
lastName: true,
email: true,
passwordHash: true,
emailVerifiedAt: true,
kita: { select: { name: true } },
},
});
@@ -57,7 +56,7 @@ export default async function InvitePage({
if (!user) notFound();
const userName = `${user.firstName} ${user.lastName}`;
const alreadyAccepted = user.passwordHash !== "";
const alreadyAccepted = !!user.emailVerifiedAt;
return (
<div className="flex min-h-screen flex-col bg-muted/30">