show resources table, check org access, and handle redirects on root

This commit is contained in:
Milo Schwartz
2024-10-19 15:49:16 -04:00
parent edde7a247a
commit f6c7c017cb
14 changed files with 416 additions and 95 deletions

View File

@@ -1,7 +1,11 @@
export default async function Page() {
return (
<>
<p>IDK what this will show...</p>
</>
);
import { redirect } from "next/navigation";
type OrgPageProps = {
params: { orgId: string };
};
export default async function Page({ params }: OrgPageProps) {
redirect(`/${params.orgId}/sites`);
return <></>;
}