Update project creation process

This commit is contained in:
Hazem Krimi
2021-06-15 02:33:36 +01:00
parent befb9e3524
commit 817f1fd332
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -68,10 +68,7 @@ const AddProject = () => {
chosenDeliverables, chosenDeliverables,
setChosenDeliverables, setChosenDeliverables,
] = useState<DelivrableInput>(); ] = useState<DelivrableInput>();
const [ const [, setChosenPaymentOption] = useState<PaymentOptionInput>();
chosenPaymentOption,
setChosenPaymentOption,
] = useState<PaymentOptionInput>();
const [chosenPlatforms, setChosenPlatforms] = useState<Array<string>>([]); const [chosenPlatforms, setChosenPlatforms] = useState<Array<string>>([]);
const [selectedFeature, setSelectedFeature] = useState<FeatureOutput>(); const [selectedFeature, setSelectedFeature] = useState<FeatureOutput>();
const [categories, setCategories] = useState<Array<CategoryOutput>>([]); const [categories, setCategories] = useState<Array<CategoryOutput>>([]);
+1 -1
View File
@@ -88,7 +88,7 @@ const Project = () => {
return role !== 'admin' ? ( return role !== 'admin' ? (
<> <>
{!projectLoading && !projectLoading && !prototypeLoading ? ( {!projectsLoading && !projectLoading && !prototypeLoading ? (
<> <>
{project ? ( {project ? (
<Wrapper> <Wrapper>