Commit bc99c52e authored by Paul Kaplan's avatar Paul Kaplan

Fix hard-coded /preview/id url for remix list.

parent 594ce06b
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment