mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 01:36:39 +00:00
14 lines
368 B
TypeScript
14 lines
368 B
TypeScript
import { redirect } from "next/navigation";
|
|
|
|
type ClientsPageProps = {
|
|
params: Promise<{ orgId: string }>;
|
|
searchParams: Promise<{ view?: string }>;
|
|
};
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export default async function ClientsPage(props: ClientsPageProps) {
|
|
const params = await props.params;
|
|
redirect(`/${params.orgId}/settings/clients/user`);
|
|
}
|