From 354387c68e15966d185ae1eb88d79ac7919b3f1f Mon Sep 17 00:00:00 2001 From: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com> Date: Sun, 18 Jun 2023 23:55:40 -0400 Subject: [PATCH] remove extra "ago" in hackernews example (#7409) --- examples/hackernews/src/components/Comment.astro | 2 +- 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 8327e666c7..6137f4e1d0 100644 --- a/examples/hackernews/src/components/Comment.astro +++ b/examples/hackernews/src/components/Comment.astro @@ -14,7 +14,7 @@ const { comment } = Astro.props;
  • {comment.user}{' '} - {comment.time_ago} ago + {comment.time_ago}
    diff --git a/examples/hackernews/src/pages/stories/[id].astro b/examples/hackernews/src/pages/stories/[id].astro index 6cd17ea456..84383aa9e4 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; {story.user} - {story.time_ago} ago +  {story.time_ago}