mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Fix hard-coded /preview/id url for remix list.
This commit is contained in:
parent
594ce06b5b
commit
bc99c52ebe
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ const ThumbnailColumn = props => (
|
|||
<FlexRow className={classNames('thumbnail-column', props.className)}>
|
||||
{props.items.map((item, key) => {
|
||||
const href = `/${props.itemType}/${item.id}/`;
|
||||
if (props.itemType === 'preview') {
|
||||
if (props.itemType === 'projects') {
|
||||
return (
|
||||
<Thumbnail
|
||||
avatar={thumbnailUrl(item.author.id)}
|
||||
|
|
|
@ -20,7 +20,7 @@ const RemixList = props => {
|
|||
<ThumbnailColumn
|
||||
cards
|
||||
showAvatar
|
||||
itemType="preview"
|
||||
itemType="projects"
|
||||
items={remixes.slice(0, 5)}
|
||||
showFavorites={false}
|
||||
showLoves={false}
|
||||
|
|
Loading…
Reference in a new issue