Fixed warnings
the build was successful

This commit is contained in:
2018-08-01 21:49:58 +02:00
parent bf10ed1fe3
commit 1ca25eff8e
+5 -1
View File
@@ -41,7 +41,7 @@ export function Item({link, name, icon, author, description, tags, fictionalDate
function ItemMeta({kind, value, className}) {
// Hide empty fields
if (value == null || value == "") {
if (value == null || value === "") {
return null
}
@@ -62,5 +62,9 @@ function ItemMeta({kind, value, className}) {
case "author": {
return <div className="author color-menu">{value}</div>
}
default: {
return null;
}
}
}