From 9f420a00d787f4f810d6332d29637399127c6b93 Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Mon, 28 Aug 2023 13:09:27 +0530 Subject: [PATCH] fix: create new project as fav (#1993) --- apps/app/components/project/sidebar-list.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/app/components/project/sidebar-list.tsx b/apps/app/components/project/sidebar-list.tsx index 9e37426de..0ab8f9bee 100644 --- a/apps/app/components/project/sidebar-list.tsx +++ b/apps/app/components/project/sidebar-list.tsx @@ -31,6 +31,7 @@ import { useMobxStore } from "lib/mobx/store-provider"; export const ProjectSidebarList: FC = () => { const store: any = useMobxStore(); + const [isFavoriteProjectCreate, setIsFavoriteProjectCreate] = useState(false); const [isProjectModalOpen, setIsProjectModalOpen] = useState(false); const [deleteProjectModal, setDeleteProjectModal] = useState(false); const [projectToDelete, setProjectToDelete] = useState(null); @@ -151,7 +152,7 @@ export const ProjectSidebarList: FC = () => { { @@ -252,7 +256,10 @@ export const ProjectSidebarList: FC = () => {