refactor: remove data-table component and related functionality

refactor: update sidebar item interface to use IconType

refactor: modify nav-main and nav-ucenter components to use IconType

refactor: delete unused nav-secondary component

refactor: clean up user profile page logic and improve avatar handling

refactor: remove section-cards component

refactor: add icon type definition for better type safety
This commit is contained in:
2025-09-20 14:36:29 +08:00
parent 709aa82337
commit 640b3299ac
17 changed files with 308 additions and 1327 deletions

View File

@ -32,7 +32,7 @@ export default function ConsoleLayout({
} else {
setTitle("Title");
}
}, [pathname])
}, [pathname, sideBarItems]);
useEffect(() => {
if (!user) {