mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-05 18:26:40 +00:00
migrate to next 15 and react 19
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
type OrgPageProps = {
|
||||
params: { orgId: string };
|
||||
params: Promise<{ orgId: string }>;
|
||||
};
|
||||
|
||||
export default async function Page({ params }: OrgPageProps) {
|
||||
export default async function Page(props: OrgPageProps) {
|
||||
const params = await props.params;
|
||||
redirect(`/${params.orgId}/sites`);
|
||||
|
||||
return <></>;
|
||||
|
||||
Reference in New Issue
Block a user