diff --git a/src/routes/Board/Board.js b/src/routes/Board/Board.js index 97eb31581..1f4d1c755 100644 --- a/src/routes/Board/Board.js +++ b/src/routes/Board/Board.js @@ -26,18 +26,13 @@ const Board = () => { null } {board.catalogs.map((catalog, index) => { - const title = `${catalog.addonName} - ${catalog.request.path.id} ${catalog.request.path.type}`; switch (catalog.content.type) { case 'Ready': { - const posterShape = catalog.content.content.length > 0 ? - catalog.content.content[0].posterShape - : - ''; return ( { @@ -69,7 +64,7 @@ const Board = () => { ); diff --git a/src/routes/Search/Search.js b/src/routes/Search/Search.js index fad0c5e8e..f59829347 100644 --- a/src/routes/Search/Search.js +++ b/src/routes/Search/Search.js @@ -49,18 +49,13 @@ const Search = ({ queryParams }) => { : search.catalogs.map((catalog, index) => { - const title = `${catalog.addonName} - ${catalog.request.path.id} ${catalog.request.path.type}`; switch (catalog.content.type) { case 'Ready': { - const posterShape = catalog.content.content.length > 0 ? - catalog.content.content[0].posterShape - : - null; return ( { @@ -92,7 +87,7 @@ const Search = ({ queryParams }) => { );