Remove the per-route 'export const instant = false' opt-outs now that the root layout carries the single Cache Components opt-out. Child pages inherit the opt-out, so admin/mod/radio leaf pages that only access cached or DB data stay instant while runtime-dependent pages remain dynamic. Update the staff-smoke contract test to assert the root-layout contract.
8 lines
269 B
TypeScript
8 lines
269 B
TypeScript
import { redirect } from "next/navigation";
|
|
|
|
// Default landing for /admin/translations → first tab.
|
|
// The shared TranslationsTabs (in layout.tsx) gives access to every section.
|
|
export default function TranslationsHubPage() {
|
|
redirect("/admin/translations/cms");
|
|
}
|