Add "\" after boost in comments

Currently there's a space or "\" missing, e.g. https://stacker.news/items/5747 .
This PR also aligns this with https://github.com/stackernews/stacker.news/blob/master/components/item.js
This commit is contained in:
Nout (or maybe not) 2021-12-03 22:26:42 -08:00 committed by GitHub
parent 7989e38207
commit bdf6ed2c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ export default function Comment ({
{item.boost > 0 &&
<>
<span>{item.boost} boost</span>
<span> \ </span>
</>}
<Link href={`/items/${item.id}`} passHref>
<a onClick={e => e.stopPropagation()} className='text-reset'>{item.ncomments} replies</a>