From 3777d4b7c5cafb4b757b5f52935f65b942974c21 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Sat, 26 Apr 2025 18:25:02 +0530 Subject: [PATCH] set default view is cards --- src/pages/project/ProjectList.jsx | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/pages/project/ProjectList.jsx b/src/pages/project/ProjectList.jsx index 9b831918..8842c5a9 100644 --- a/src/pages/project/ProjectList.jsx +++ b/src/pages/project/ProjectList.jsx @@ -14,7 +14,7 @@ import ProjectListView from "./ProjectListView"; const ProjectList = () => { const { profile: loginUser } = useProfile(); - const [listView, setListView] = useState(true); + const [listView, setListView] = useState(false); const [showModal, setShowModal] = useState(false); const { projects, loading, error, refetch } = useProjects(); const [projectList, setProjectList] = useState([]); @@ -159,21 +159,6 @@ const ProjectList = () => {
- - +