diff --git a/src/routes/Board/Board.js b/src/routes/Board/Board.js index b3b7860f8..2cbe193c9 100644 --- a/src/routes/Board/Board.js +++ b/src/routes/Board/Board.js @@ -52,7 +52,7 @@ const Board = () => { null } {board.catalogs.map((catalog, index) => { - switch (catalog.content.type) { + switch (catalog.content?.type) { case 'Ready': { return ( { /> ); } - case 'Loading': { + default: { return ( { : search.catalogs.map((catalog, index) => { - switch (catalog.content.type) { + switch (catalog.content?.type) { case 'Ready': { return ( { /> ); } - case 'Loading': { + default: { return (