Files
pangolin/src/app/[orgId]/page.tsx
2024-10-23 13:30:23 -04:00

13 lines
269 B
TypeScript

import { redirect } from "next/navigation";
type OrgPageProps = {
params: Promise<{ orgId: string }>;
};
export default async function Page(props: OrgPageProps) {
const params = await props.params;
redirect(`/${params.orgId}/sites`);
return <></>;
}