Issue #20 Solucionados errores mostrados por consola
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user