import { Button } from "@/components/ui/button"; // import { getTenantId } from "@/lib/auth"; // import { db } from "@/lib/db"; import { ArrowLeft } from "lucide-react"; import Link from "next/link"; import { notFound, usePathname, useSearchParams } from "next/navigation"; import { ChangePlanButton } from "./button"; import { queryProductionList, queryStaffList } from "@/lib/http/staff"; import { PlanCard } from "./card"; import { useTranslation } from "react-i18next"; export default async function Page() { // const tenantId = getTenantId(); // const workspace = await db.query.workspaces.findFirst({ // where: (table, { eq }) => eq(table.tenantId, tenantId), // }); // if (!workspace) { // return notFound(); // } return (
Manage
{(["free", "pro", "custom"] as const).map((tier) => ())}
); }