Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix: no space between last edited at and date in comments (#1139)

Fahada9f5beda2479
diff --git a/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx b/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx
index 153d69f0..2147beb5 100644
--- a/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx
+++ b/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx
@@ -296,7 +296,7 @@ function SingleComment({
<ExpandableContent content={comment.text} />
{hasBeenEdited ? (
<div className="text-muted-foreground flex items-center gap-2 whitespace-nowrap text-xs">
- Last edited at
+ Last edited at{' '}
{new Intl.DateTimeFormat(undefined, {
timeStyle: 'short',
dateStyle: 'short',