From c3d294fadce5bd824b3eb8b5a211f25199d1d771 Mon Sep 17 00:00:00 2001 From: psiddharthdesign <107192927+psiddharthdesign@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:25:32 +0530 Subject: [PATCH] feat/minor fix to create project form --- .../projects/create/page.tsx | 5 +- src/components/CreateProjectForm.tsx | 84 +++++++++++-------- src/data/user/repos.ts | 14 ++++ 3 files changed, 65 insertions(+), 38 deletions(-) diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/projects/create/page.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/projects/create/page.tsx index 4c2f241b..337634d6 100644 --- a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/projects/create/page.tsx +++ b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/projects/create/page.tsx @@ -1,5 +1,5 @@ - import CreateProjectForm from "@/components/CreateProjectForm"; +import { getOrganizationRepos } from "@/data/user/repos"; import { organizationParamSchema } from "@/utils/zod-schemas/params"; import type { Metadata } from "next"; @@ -14,10 +14,11 @@ export default async function CreateProjectPage({ params: unknown; }) { const { organizationId } = organizationParamSchema.parse(params); + const repositories = await getOrganizationRepos(organizationId); return (