mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-23 13:26:41 +00:00
23 lines
617 B
TypeScript
23 lines
617 B
TypeScript
import { internal } from "@app/api";
|
|
import { authCookieHeader } from "@app/api/cookies";
|
|
import { verifySession } from "@app/lib/auth/verifySession";
|
|
import { GetOrgUserResponse } from "@server/routers/user";
|
|
import { AxiosResponse } from "axios";
|
|
import { redirect } from "next/navigation";
|
|
import { cache } from "react";
|
|
|
|
type OrgPageProps = {
|
|
params: Promise<{ orgId: string }>;
|
|
};
|
|
|
|
export default async function OrgPage(props: OrgPageProps) {
|
|
const params = await props.params;
|
|
const orgId = params.orgId;
|
|
|
|
return (
|
|
<>
|
|
<p>Welcome to {orgId} dashboard</p>
|
|
</>
|
|
);
|
|
}
|