From c859e8fe941bcc120bd18f27e21ebd88292d9157 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Mon, 16 Sep 2019 09:31:22 +0300 Subject: [PATCH] posterShape validation in Board not needed --- src/routes/Board/Board.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/routes/Board/Board.js b/src/routes/Board/Board.js index c8799d5e4..c6c34c4a7 100644 --- a/src/routes/Board/Board.js +++ b/src/routes/Board/Board.js @@ -29,10 +29,7 @@ const Board = () => { key={`${index}${req.base}${content.type}`} className={styles['board-row']} title={`${req.path.id} - ${req.path.type_name}`} - items={content.content.map((item) => ({ - ...item, - posterShape: item.posterShape || 'poster' - }))} + items={content.content} /> ); case 'Message':