fix: update project list logging and rename container class for clarity

This commit is contained in:
Jerald-Golden-B 2025-06-21 16:16:12 +05:30
parent f52ac74865
commit 7e61b3c16c
2 changed files with 3 additions and 2 deletions

View File

@ -113,6 +113,7 @@ const DashboardHome: React.FC = () => {
const renderProjects = () => {
const projectList = recentProjects[Object.keys(recentProjects)[0]];
console.log('projectList: ', projectList);
if (!projectList?.length) {
return <div className="empty-state">No recent projects found</div>;
@ -148,7 +149,7 @@ const DashboardHome: React.FC = () => {
handleRecentProjectSearch={handleRecentProjectSearch}
/>
<MarketPlaceBanner />
<div className="container">
<div className="dashboard-container">
<h2 className="section-header">Recents</h2>
<div className="cards-container">{renderProjects()}</div>
</div>

View File

@ -129,7 +129,7 @@
}
}
.container {
.dashboard-container {
margin: 22px 0;
width: 100%;
height: calc(100% - 357px);