fix mistake.

This commit is contained in:
Jason Schwarzenberger 2020-11-20 04:29:54 +00:00
parent 9341b4d966
commit 0bfa920654

View File

@ -15,7 +15,7 @@ export const sourceLink = (story) => {
export const infoLine = (story) => (
<div className="info">
{story.score} points by {story.author_link ? <a href={story.author_link}>{story.author}</a> : story.author_link}
{story.score} points by {story.author_link ? <a href={story.author_link}>{story.author}</a> : story.author}
&#8203; {moment.unix(story.date).fromNow()}
&#8203; on <a href={story.link}>{story.source}</a> | &#8203;
<Link