refactor(home-page): simplify layout by removing unnecessary Card component
- Removed the Card wrapper around the TasksList for a cleaner layout. - Cleaned up whitespace in the home-page.tsx file for improved readability.
This commit is contained in:
@@ -46,7 +46,7 @@ const HomePage = memo(() => {
|
|||||||
console.warn('Failed to preload TaskDrawer:', error);
|
console.warn('Failed to preload TaskDrawer:', error);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
preloadTaskDrawer();
|
preloadTaskDrawer();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@@ -108,9 +108,7 @@ const HomePage = memo(() => {
|
|||||||
|
|
||||||
<Row gutter={[24, 24]} className="mt-12">
|
<Row gutter={[24, 24]} className="mt-12">
|
||||||
<Col xs={24} lg={16}>
|
<Col xs={24} lg={16}>
|
||||||
<Card title="Task List" className="h-full">
|
<TasksList />
|
||||||
<TasksList />
|
|
||||||
</Card>
|
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col xs={24} lg={8}>
|
<Col xs={24} lg={8}>
|
||||||
@@ -118,7 +116,7 @@ const HomePage = memo(() => {
|
|||||||
<UserActivityFeed />
|
<UserActivityFeed />
|
||||||
|
|
||||||
<TodoList />
|
<TodoList />
|
||||||
|
|
||||||
<Card title="Recent & Favorite Projects">
|
<Card title="Recent & Favorite Projects">
|
||||||
<RecentAndFavouriteProjectList />
|
<RecentAndFavouriteProjectList />
|
||||||
</Card>
|
</Card>
|
||||||
@@ -134,4 +132,4 @@ const HomePage = memo(() => {
|
|||||||
|
|
||||||
HomePage.displayName = 'HomePage';
|
HomePage.displayName = 'HomePage';
|
||||||
|
|
||||||
export default HomePage;
|
export default HomePage;
|
||||||
|
|||||||
Reference in New Issue
Block a user