mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-13 16:36:41 +00:00
Merge branch 'main' into dev
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
interface AccessLayoutProps {
|
||||
children: React.ReactNode;
|
||||
params: Promise<{
|
||||
resourceId: number | string;
|
||||
orgId: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import { HorizontalTabs } from "@app/components/HorizontalTabs";
|
||||
|
||||
type SettingsLayoutProps = {
|
||||
children: React.ReactNode;
|
||||
params: Promise<{ clientId: number; orgId: string }>;
|
||||
params: Promise<{ clientId: number | string; orgId: string }>;
|
||||
}
|
||||
|
||||
export default async function SettingsLayout(props: SettingsLayoutProps) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function ClientPage(props: {
|
||||
params: Promise<{ orgId: string; clientId: number }>;
|
||||
params: Promise<{ orgId: string; clientId: number | string }>;
|
||||
}) {
|
||||
const params = await props.params;
|
||||
redirect(`/${params.orgId}/settings/clients/${params.clientId}/general`);
|
||||
|
||||
Reference in New Issue
Block a user