0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 00:42:40 +00:00

fix link href

This commit is contained in:
Víctor Losada Hernández
2024-02-13 10:52:53 +01:00
parent 77abab8395
commit fe5a76c0df

View File

@@ -137,7 +137,7 @@ const BrewItem = createClass({
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
<i className='fas fa-user'/> {brew.authors?.map((author, index) => (
<span key={index}>
<a href={`/share/${author}`}>{author}</a>
<a href={`/user/${author}`}>{author}</a>
{index < brew.authors.length - 1 && ', '}
</span>))}
</span>