mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update project creation process
This commit is contained in:
@@ -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>>([]);
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ const Project = () => {
|
|||||||
|
|
||||||
return role !== 'admin' ? (
|
return role !== 'admin' ? (
|
||||||
<>
|
<>
|
||||||
{!projectLoading && !projectLoading && !prototypeLoading ? (
|
{!projectsLoading && !projectLoading && !prototypeLoading ? (
|
||||||
<>
|
<>
|
||||||
{project ? (
|
{project ? (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user