Scheduling infrastructure for absolutely everyone.
fix: team event leading to a 404 page due slug conflict (#18055)
Anik Dhabal Babue8eab10d1735
diff --git a/apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx b/apps/web/lib/team/[slug]/[type]/getServerSideProps.tsxindex daf660146a2..8d65380e510 100644--- a/apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx+++ b/apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx@@ -53,6 +53,9 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>...getSlugOrRequestedSlug(teamSlug),parent: isValidOrgDomain && currentOrgDomain ? getSlugOrRequestedSlug(currentOrgDomain) : null,},+ orderBy: {+ slug: { sort: "asc", nulls: "last" },+ },select: {id: true,hideBranding: true,