diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/page.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/page.tsx index 334fe73d..dffa5d33 100644 --- a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/page.tsx +++ b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/page.tsx @@ -93,10 +93,6 @@ async function Dashboard({ params, searchParams }: DashboardProps) { export async function generateMetadata({ params }: DashboardProps): Promise { const { organizationId } = organizationParamSchema.parse(params); - console.log('------------------------------------') - console.log('Params', params); - console.log('Organization id', organizationId); - console.log('------------------------------------') const title = await getOrganizationTitle(organizationId); console.log('Organization title', title); diff --git a/src/data/user/repos.ts b/src/data/user/repos.ts index 0c309dce..2a8e2761 100644 --- a/src/data/user/repos.ts +++ b/src/data/user/repos.ts @@ -29,6 +29,7 @@ export async function getOrganizationRepos(organizationId: string) { throw error; } + revalidatePath(`/org/${organizationId}/projects`, 'page'); revalidatePath(`/org/${organizationId}/projects/create`, 'page'); return data;