@coorpacademy/components
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "@coorpacademy/components", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Component library for web front ends", | ||
@@ -5,0 +5,0 @@ "main": "lib/components/index.js", |
@@ -33,2 +33,3 @@ import identity from 'lodash/fp/identity'; | ||
const href = getOr('', 'href', product); | ||
const image = getOr(null, 'images.discipline_thumb_retina.url.https', product); | ||
@@ -38,3 +39,3 @@ return ( | ||
<div className={style.imageWrapper}> | ||
<img src={getOrBlank('images.0.url.https', product)} /> | ||
<img src={image} /> | ||
<div className={style.overlay}> | ||
@@ -41,0 +42,0 @@ <HoverFill> |
567231
10823