Merge branch 'main' into dev

This commit is contained in:
Owen
2025-09-14 21:29:43 -07:00
8 changed files with 1767 additions and 361 deletions

View File

@@ -1,7 +1,6 @@
interface AccessLayoutProps {
children: React.ReactNode;
params: Promise<{
resourceId: number | string;
orgId: string;
}>;
}

View File

@@ -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) {

View File

@@ -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`);