Skip to content

Commit 65daa03

Browse files
authored
Just I have fixed Some typos ;) (#135)
* Just I have fixed Some typos, from issue 'Missing spaces #123' ;) * fix: correct spacing implementation * removed static 'spaces' before texts.
1 parent 470953f commit 65daa03

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/SharedLinks.astro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,15 @@ const byLabel = resolve({ en: 'by', ru: 'от' }, locale);
8686
return (
8787
<li>
8888
<a href={item.url} target="_blank">{resolve(item.text, locale)} ↗</a>
89-
{hasAuthor && <> {byLabel} {item.author} <a href={item.author_url} target="_blank">{item.author_text} ↗</a></>}
89+
{hasAuthor && (
90+
<>
91+
{' '}{byLabel}{' '}
92+
{item.author}{' '}
93+
<a href={item.author_url} target="_blank">
94+
{item.author_text}
95+
</a>
96+
</>
97+
)}
9098
</li>
9199
);
92100
})}

0 commit comments

Comments
 (0)