refactor: clean up catch block formatting and comment out version display in Sidebar
This commit is contained in:
@@ -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) { }
|
||||
}
|
||||
};
|
||||
|
||||
@@ -235,10 +235,10 @@ export default function Sidebar() {
|
||||
<LogOut className="w-4 h-4 text-slate-400" />
|
||||
</button>
|
||||
</Link>
|
||||
<div className="mt-2 text-xs text-slate-400 text-center">
|
||||
{/* <div className="mt-2 text-xs text-slate-400 text-center">
|
||||
<p>Phase 1 - Core EV Rental</p>
|
||||
<p className="mt-1">v1.0.0</p>
|
||||
</div>
|
||||
</div> */}
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user