From 817f1fd3329d1bd4aa6a107e10e25eb3d4b07b9b Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Tue, 15 Jun 2021 02:33:36 +0100 Subject: [PATCH] Update project creation process --- src/pages/AddProject/index.tsx | 5 +---- src/pages/Project/index.tsx | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/AddProject/index.tsx b/src/pages/AddProject/index.tsx index ea1c21e..778ca38 100644 --- a/src/pages/AddProject/index.tsx +++ b/src/pages/AddProject/index.tsx @@ -68,10 +68,7 @@ const AddProject = () => { chosenDeliverables, setChosenDeliverables, ] = useState(); - const [ - chosenPaymentOption, - setChosenPaymentOption, - ] = useState(); + const [, setChosenPaymentOption] = useState(); const [chosenPlatforms, setChosenPlatforms] = useState>([]); const [selectedFeature, setSelectedFeature] = useState(); const [categories, setCategories] = useState>([]); diff --git a/src/pages/Project/index.tsx b/src/pages/Project/index.tsx index d97aa69..47510dd 100644 --- a/src/pages/Project/index.tsx +++ b/src/pages/Project/index.tsx @@ -88,7 +88,7 @@ const Project = () => { return role !== 'admin' ? ( <> - {!projectLoading && !projectLoading && !prototypeLoading ? ( + {!projectsLoading && !projectLoading && !prototypeLoading ? ( <> {project ? (