feat(routes): implement lazy loading and suspense fallback for route components

- Refactored account setup, admin center, reporting, and settings routes to utilize React's lazy loading for improved performance.
- Wrapped route components in Suspense with a fallback UI to enhance user experience during loading states.
- Removed unused drag-and-drop CSS file to clean up the codebase.
This commit is contained in:
chamikaJ
2025-07-03 10:34:06 +05:30
parent c19c1c2f34
commit e26f16bbc2
13 changed files with 104 additions and 79 deletions

View File

@@ -27,6 +27,8 @@ import {
fetchTasksV3,
selectTaskGroupsV3,
selectCurrentGroupingV3,
fetchSubTasks,
toggleTaskExpansion,
} from '@/features/task-management/task-management.slice';
import {
selectTaskGroups,