perf : cache
CI / Verify (push) Successful in 1m56s
CI / Build immutable images and deploy (push) Successful in 3m12s

This commit is contained in:
2026-10-08 23:21:34 +07:00 Unverified
parent 36063fc214
commit 9580407a90
58 changed files with 5797 additions and 5336 deletions
+2 -2
View File
@@ -2,12 +2,12 @@ import { redirect } from "next/navigation";
import { connection } from "next/server";
import { TeamImageGenerator } from "@/components/admin/team-image-generator";
import { getActiveCatalog } from "@/lib/guides/queries";
import { getCachedCatalogOptions } from "@/lib/cache/catalog";
export default async function TeamImagePage() {
await connection();
const catalog = await getActiveCatalog();
const catalog = await getCachedCatalogOptions();
if (!catalog) redirect("/admin?sync=required");
return (