diff --git a/src/components/EntityList.jsx b/src/components/EntityList.jsx
index e122eb6..3002f4e 100644
--- a/src/components/EntityList.jsx
+++ b/src/components/EntityList.jsx
@@ -2,6 +2,20 @@ import React from "react";
import {Link} from "react-router-dom";
import "./EntityList.scss"
+const EntityPlaceholder = (props) => {
+ return (
+
+
+ {props.cover && }
+
+
+
+
+
+
+ )
+}
+
const EntityItem = (props) => {
return (
@@ -21,8 +35,17 @@ const EntityItem = (props) => {
}
export const EntityList = (props) => {
- const entities = props.items.map(item => )
+ }
+ }else{
+ entities = props.items.map(item => );
+ }
const className = props.grid ? "grid" : "column";
return (
diff --git a/src/views/Search.jsx b/src/views/Search.jsx
index 71721e2..47be901 100644
--- a/src/views/Search.jsx
+++ b/src/views/Search.jsx
@@ -39,7 +39,7 @@ const SearchSongs = (props) => {
};
- let songsComponent = ;
+ let songsComponent = ;
if (songs) {
const items = songs.map((song) => {
return {
@@ -99,7 +99,7 @@ const SearchDiscs = (props) => {
})
};
- let discsComponent = ;
+ let discsComponent = ;
if (discs) {
const items = discs.map((disc) => ({
'cover': ,
@@ -157,7 +157,7 @@ const SearchArtists = (props) => {
})
};
- let artistsContent = ;
+ let artistsContent = ;
if (artists) {
const items = artists.map((artist) => ({
'cover': null,