From 0a897e663c7cda62b5e1c00a05d180567fbfa53a Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Mon, 14 Jul 2025 23:04:44 +0100 Subject: [PATCH] Removed unnecessary wrapper elements and improving readability. --- .../Dashboard/context/SpotlightContext.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/components/Dashboard/context/SpotlightContext.js b/src/components/Dashboard/context/SpotlightContext.js index fe6a7e8..418bc11 100644 --- a/src/components/Dashboard/context/SpotlightContext.js +++ b/src/components/Dashboard/context/SpotlightContext.js @@ -461,16 +461,9 @@ const SpotlightProvider = ({ children }) => { align='center' justify='space-between' > - - - {Icon ? ( - - ) : null} - + + {Icon ? : null} + {item.name ? ( {item.name}