export default async function PortalLandingPage({ params,}: { params: Promise<{ slug: string }>;}) { const { slug } = await params; const apiClient = await client();// api with type any - with no type inference const res = await apiClient.api.organizations[":slug"].$get({ param: { slug }, });
export default async function PortalLandingPage({ params,}: { params: Promise<{ slug: string }>;}) { const { slug } = await params; const apiClient = await client();// api with type any - with no type inference const res = await apiClient.api.organizations[":slug"].$get({ param: { slug }, });