Skip to content

Commit 903550b

Browse files
committed
Collection owner's username links to their sketches page
1 parent a5b6256 commit 903550b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/modules/User/components/Collection.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ class Collection extends React.Component {
221221
}
222222
</p>
223223

224-
<p className="collection-metadata__user">Collection by {owner.username}</p>
224+
<p className="collection-metadata__user">Collection by{' '}
225+
<Link to={`${hostname}/${username}/sketches`}>{owner.username}</Link>
226+
</p>
225227

226228
<p className="collection-metadata__user">{items.length} sketch{items.length === 1 ? '' : 'es'}</p>
227229
</div>

0 commit comments

Comments
 (0)