mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 12:16:36 +00:00
show resources table, check org access, and handle redirects on root
This commit is contained in:
@@ -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 <></>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user