diff --git a/packages/hooks/launchpad/useCreateCollection.ts b/packages/hooks/launchpad/useCreateCollection.ts index 44d4e43ba..bb933be30 100644 --- a/packages/hooks/launchpad/useCreateCollection.ts +++ b/packages/hooks/launchpad/useCreateCollection.ts @@ -134,7 +134,7 @@ export const useCreateCollection = () => { symbol: collectionFormValues.symbol, website_link: collectionFormValues.websiteLink || "", contact_email: collectionFormValues.email || "", - project_type: collectionFormValues.projectTypes.join() || "", + project_type: collectionFormValues.projectTypes?.join() || "", tokens_count: assetsMetadataFormsValues?.assetsMetadatas?.length || 0, reveal_time: collectionFormValues.revealTime || 0, team_desc: collectionFormValues.teamDescription || "", diff --git a/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/InvestmentInformation.tsx b/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/InvestmentInformation.tsx index 92e4ec350..df5ff9f11 100644 --- a/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/InvestmentInformation.tsx +++ b/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/InvestmentInformation.tsx @@ -2,7 +2,6 @@ import React from "react"; import { View, useWindowDimensions } from "react-native"; import { ApplicationCard } from "./ApplicationCard"; -import { launchpadReviewBreakpointSM } from "../LaunchpadApplicationReviewScreen"; import { BrandText } from "@/components/BrandText"; import { launchpadReviewBreakpointM } from "@/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/LaunchpadApplicationReviewScreen"; diff --git a/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/ProjectInformation.tsx b/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/ProjectInformation.tsx index ae3672e12..0a00b74ea 100644 --- a/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/ProjectInformation.tsx +++ b/packages/screens/Launchpad/LaunchpadAdmin/LaunchpadApplicationReview/components/ProjectInformation.tsx @@ -2,10 +2,7 @@ import React from "react"; import { useWindowDimensions, View } from "react-native"; import { ApplicationCard } from "./ApplicationCard"; -import { - launchpadReviewBreakpointS, - launchpadReviewBreakpointSM, -} from "../LaunchpadApplicationReviewScreen"; +import { launchpadReviewBreakpointS } from "../LaunchpadApplicationReviewScreen"; import { BrandText } from "@/components/BrandText"; import { fontSemibold20 } from "@/utils/style/fonts"; @@ -66,26 +63,26 @@ export const ProjectInformation: React.FC<{ {/* />*/} {/**/} - {/* = launchpadReviewBreakpointSM ? "row" : "column",*/} - {/* flexWrap: "wrap",*/} - {/* flex: 1,*/} - {/* gap: layout.spacing_x1_5,*/} - {/* }}*/} - {/* >*/} - {/* */} - {/* */} - {/* */} + {/* = launchpadReviewBreakpointSM ? "row" : "column",*/} + {/* flexWrap: "wrap",*/} + {/* flex: 1,*/} + {/* gap: layout.spacing_x1_5,*/} + {/* }}*/} + {/* >*/} + {/* */} + {/* */} + {/* */} EMAIL_REGEXP.test(value), DEFAULT_FORM_ERRORS.onlyEmail) .optional(), - projectTypes: z.array(z.string().trim()), + projectTypes: z.array(z.string().trim()).optional(), revealTime: z.number().optional(), teamDescription: z.string().trim().optional(), partnersDescription: z.string().trim().optional(),