Remove debug logs and standardize container class names in Dashboard components

This commit is contained in:
2025-06-23 10:23:30 +05:30
parent 05a11c1184
commit 88a470929e
4 changed files with 3 additions and 5 deletions

View File

@@ -113,7 +113,6 @@ 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>;

View File

@@ -155,7 +155,7 @@ const DashboardProjects: React.FC = () => {
handleProjectsSearch={handleProjectsSearch}
/>
<div className="container" style={{ height: "calc(100% - 87px)" }}>
<div className="dashboard-container" style={{ height: "calc(100% - 87px)" }}>
<div className="header-wrapper" style={{ display: "flex", gap: "7px" }}>
<button
className={`header ${activeFolder === "myProjects" && "active"}`}

View File

@@ -83,7 +83,6 @@ const DashboardTrash: React.FC = () => {
};
const handleTrashDeleteProject = async (projectId: any) => {
console.log('projectId: ', projectId);
try {
// const deletedProject = await deleteTrash(
// organization, projectId
@@ -147,7 +146,7 @@ const DashboardTrash: React.FC = () => {
<div className="dashboard-home-container">
<DashboardNavBar page="trash" handleTrashSearch={handleTrashSearch} />
<div className="container" style={{ height: "calc(100% - 87px)" }}>
<div className="dashboard-container" style={{ height: "calc(100% - 87px)" }}>
<div className="header" style={{ display: "flex", gap: "7px" }}></div>
<div className="cards-container">{renderTrashProjects()}</div>
</div>

View File

@@ -49,7 +49,7 @@ const DashboardTutorial = () => {
page="tutorial"
/>
<div className="container" style={{ height: "calc(100% - 87px)" }}>
<div className="dashboard-container" style={{ height: "calc(100% - 87px)" }}>
<div className="header" style={{ display: 'flex', gap: '7px' }}></div>
<div className="cards-container">
{renderTrashProjects()}