diff options
Diffstat (limited to 'examples/hackernews/src')
-rw-r--r-- | examples/hackernews/src/components/Comment.astro | 2 | ||||
-rw-r--r-- | examples/hackernews/src/pages/stories/[id].astro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/hackernews/src/components/Comment.astro b/examples/hackernews/src/components/Comment.astro index 8327e666c..6137f4e1d 100644 --- a/examples/hackernews/src/components/Comment.astro +++ b/examples/hackernews/src/components/Comment.astro @@ -14,7 +14,7 @@ const { comment } = Astro.props; <li> <div class="by"> <a href={`/users/${comment.user}`}>{comment.user}</a>{' '} - {comment.time_ago} ago + {comment.time_ago} </div> <div class="text" set:html={comment.content} /> <Show when={comment.comments.length}> diff --git a/examples/hackernews/src/pages/stories/[id].astro b/examples/hackernews/src/pages/stories/[id].astro index 6cd17ea45..84383aa9e 100644 --- a/examples/hackernews/src/pages/stories/[id].astro +++ b/examples/hackernews/src/pages/stories/[id].astro @@ -25,7 +25,7 @@ const story = (await fetchAPI(`item/${id}`)) as IStory; <a href={`/users/${story.user}`}> {story.user} </a> - {story.time_ago} ago + {story.time_ago} </p> </header> <main> |