diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte index 40c6eccc8..b25c4fb7c 100644 --- a/src/components/Comment.svelte +++ b/src/components/Comment.svelte @@ -28,7 +28,7 @@ reactions?: Reaction[]; embeds?: Map; caption?: string; - timestamp: number; + timestamp?: number; lastEdit?: Edit; disallowEmptyBody?: boolean; emptyBodyTooltip?: string; @@ -139,9 +139,11 @@ {#if beforeTimestamp} {@render beforeTimestamp()} {/if} - - {utils.formatTimestamp(timestamp)} - + {#if timestamp} + + {utils.formatTimestamp(timestamp)} + + {/if} {#if lastEdit}