mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-11 05:06:39 +00:00
Update page.tsx
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
export default async function ClientPage(props: {
|
export default async function ClientPage(props: {
|
||||||
params: Promise<{ orgId: string; clientId: number }>;
|
params: Promise<{ orgId: string; clientId: number | string }>;
|
||||||
}) {
|
}) {
|
||||||
const params = await props.params;
|
const params = await props.params;
|
||||||
redirect(`/${params.orgId}/settings/clients/${params.clientId}/general`);
|
redirect(`/${params.orgId}/settings/clients/${params.clientId}/general`);
|
||||||
|
|||||||
Reference in New Issue
Block a user