From 5ebc8df63fdbb0b94d394bf67048e2f8421cdaf2 Mon Sep 17 00:00:00 2001 From: "Timothy Z." Date: Fri, 3 Jan 2025 17:14:04 +0200 Subject: [PATCH] refactor(Board): hide only empty catalogs --- src/routes/Board/Board.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/routes/Board/Board.js b/src/routes/Board/Board.js index e2a646789..238dd106d 100644 --- a/src/routes/Board/Board.js +++ b/src/routes/Board/Board.js @@ -66,6 +66,19 @@ const Board = () => { /> ); } + case 'Err': { + if (!catalog.content.content === 'EmptyContent') { + return ( + + ); + } + return null; + } default: { return (