Skip to content

Open-source status page, incident response and uptime monitoring

fix(opengraph): remove unnecessary bracket in metadata (#344)

Arthur EICHELBERGERc728863241e9
diff --git a/apps/web/src/app/status-page/[domain]/page.tsx b/apps/web/src/app/status-page/[domain]/page.tsx
index c25a3cd34..d69a91476 100644
--- a/apps/web/src/app/status-page/[domain]/page.tsx
+++ b/apps/web/src/app/status-page/[domain]/page.tsx
@@ -55,8 +55,7 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
twitter: {
...twitterMetadata,
images: [
- `/api/og?monitorId=${firstMonitor?.id}&title=${page?.title}&description=${
- page?.description || `The ${page?.title} status page}`
+ `/api/og?monitorId=${firstMonitor?.id}&title=${page?.title}&description=${page?.description || `The ${page?.title} status page`
}`,
],
title: page?.title,
@@ -65,8 +64,7 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
openGraph: {
...ogMetadata,
images: [
- `/api/og?monitorId=${firstMonitor?.id}&title=${page?.title}&description=${
- page?.description || `The ${page?.title} status page}`
+ `/api/og?monitorId=${firstMonitor?.id}&title=${page?.title}&description=${page?.description || `The ${page?.title} status page`
}`,
],
title: page?.title,