fix: update Open Graph description to use syntax name from consts

This commit is contained in:
2026-01-25 23:07:28 -05:00
parent 5ecb6a9714
commit a06021f0cd
@@ -416,7 +416,7 @@
<meta property="og:title" content={data.paste.title || 'Untitled Paste'} />
<meta
property="og:description"
content={`A ${data.paste.syntax} paste on Sharpbin created by ${
content={`A ${syntaxes[data.paste.syntax].name} paste on Sharpbin created by ${
data.paste.author ? data.paste.author.username : 'Anonymous'
}, created on ${
extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date'