This commit is contained in:
Lachlan Kermode
2018-12-26 11:08:23 +01:00
parent ef947a5a20
commit f5628e7a79

View File

@@ -25,7 +25,7 @@ const CardSource = ({ source, isLoading, onClickHandler }) => {
}
}
if (typeof source !== 'object') {
if (!source) {
return (
<div className="card-source">
<div>Error: this source was not found</div>