remove of lazy imports in containers/userTasks

parent 1773954f
......@@ -9,11 +9,6 @@ import { fetchAllUserProjects, fetchProjects, fetchProjectsNonWatcherForTaskCrea
import moment from 'moment';
import { useNavigate } from 'react-router-dom';
import { lazy } from "react";
// const UsersTasksTableToolbar = lazy(() => import("../../components/UsersTasksCompoments/UsersTasksTableToolbar/UsersTasksTableToolbar"));
// const UsersTasksTablePagination = lazy(() => import("../../components/UsersTasksCompoments/UsersTasksTablePagination/UsersTasksTablePagination"));
// const UsersTasksTableContainer = lazy(() => import("../../components/UsersTasksCompoments/UsersTasksTableContainer/UsersTasksTableContainer"));
export default function UsersTasks() {
const dispatch = useDispatch();
......@@ -21,6 +16,7 @@ export default function UsersTasks() {
const { tasks, sortedTasks } = useSelector((state) => state.tasks, shallowEqual);
const { allUserProjectsForModalTask, projects } = useSelector(state => state.projects, shallowEqual)
const { user } = useSelector((state) => state.users);
const [newTask, setNewTask] = useState({
priority: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment