Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🧹 Clean up code
Luke Vella4bac312c5d2d
diff --git a/apps/web/src/app/[locale]/invite/[urlId]/layout.tsx b/apps/web/src/app/[locale]/invite/[urlId]/layout.tsxindex 29859807d..5c63f6776 100644--- a/apps/web/src/app/[locale]/invite/[urlId]/layout.tsx+++ b/apps/web/src/app/[locale]/invite/[urlId]/layout.tsx@@ -67,20 +67,20 @@ export async function generateMetadata({const { title, id, user } = poll;- const name = user?.name ?? t("guest");+ const author = user?.name || t("guest");return {title,metadataBase: new URL(absoluteUrl()),openGraph: {title,- description: `By ${name}`,+ description: `By ${author}`,url: `/invite/${id}`,images: [{url: `${absoluteUrl("/api/og-image-poll", {title,- author: user?.name ?? t("guest"),+ author,})}`,width: 1200,height: 630,