mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 12:12:42 +00:00
fix link href
This commit is contained in:
@@ -137,7 +137,7 @@ const BrewItem = createClass({
|
|||||||
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
||||||
<i className='fas fa-user'/> {brew.authors?.map((author, index) => (
|
<i className='fas fa-user'/> {brew.authors?.map((author, index) => (
|
||||||
<span key={index}>
|
<span key={index}>
|
||||||
<a href={`/share/${author}`}>{author}</a>
|
<a href={`/user/${author}`}>{author}</a>
|
||||||
{index < brew.authors.length - 1 && ', '}
|
{index < brew.authors.length - 1 && ', '}
|
||||||
</span>))}
|
</span>))}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user