From 7332f855125c16aac91e30b94b1e6aa2e6a3e22e Mon Sep 17 00:00:00 2001 From: sazzadulalambd Date: Wed, 20 May 2026 14:58:38 +0600 Subject: [PATCH] refactor: clean up catch block formatting and comment out version display in Sidebar --- src/components/Sidebar.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 1eb8769..4b83a82 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -104,14 +104,14 @@ export default function Sidebar() { try { const parsed = JSON.parse(adminNotifs); setAdminUnreadCount(parsed.filter((n: any) => !n.read).length); - } catch (e) {} + } catch (e) { } } const invNotifs = localStorage.getItem('jaiben_investor_notifications'); if (invNotifs) { try { const parsed = JSON.parse(invNotifs); setInvestorUnreadCount(parsed.filter((n: any) => !n.read).length); - } catch (e) {} + } catch (e) { } } }; @@ -190,7 +190,7 @@ export default function Sidebar() { const isActive = isExact || isChild; const Icon = item.icon; const isNotification = item.label === 'Notifications'; - + return ( -
+ {/*

Phase 1 - Core EV Rental

v1.0.0

-
+
*/}