Issue #20 Solucionados errores mostrados por consola

This commit is contained in:
Daniel Cortes
2020-06-24 01:12:50 -04:00
parent 902f80536d
commit f49b4a57fd
7 changed files with 64 additions and 55 deletions

View File

@@ -21,7 +21,7 @@ const PopularArtists = () => {
return <EntityList placeholder={true} size={4}/>
} else {
const items = artists.map((artist) => {
const widget = (<span><FaEye class='icon'/> {Math.floor(Math.random() * 1000)}</span>);
const widget = (<span><FaEye className='icon'/> {Math.floor(Math.random() * 1000)}</span>);
return {
'cover': null,
'link': `/artist/${artist.id}`,
@@ -50,7 +50,7 @@ const PopularDiscs = () => {
}else {
const items = discs.map((disc) => {
const cover = (<CoverArt disc={disc} size={2}/>);
const widget = (<span><FaEye class='icon'/> {Math.floor(Math.random() * 1000)}</span>)
const widget = (<span><FaEye className='icon'/> {Math.floor(Math.random() * 1000)}</span>)
return {
'cover': cover,
'link': `/disc/${disc.id}`,
@@ -80,7 +80,7 @@ const PopularSongs = () => {
return <EntityList placeholder={true} size={4}/>
}else {
const items = songs.map((song) => {
const widget = (<span><FaEye class='icon'/> {Math.floor(Math.random() * 1000)}</span>);
const widget = (<span><FaEye className='icon'/> {Math.floor(Math.random() * 1000)}</span>);
return {
'cover': null,
'link': `/song/${song.id}`,