mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
restoring page titles
This commit is contained in:
@@ -1,4 +1,17 @@
|
||||
import { Metadata } from "next";
|
||||
import AllSettings from "./AllSettings";
|
||||
import { getTitle } from "@/services/titleUtils";
|
||||
|
||||
export async function generateMetadata({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ courseName: string }>;
|
||||
}): Promise<Metadata> {
|
||||
const { courseName } = await params;
|
||||
return {
|
||||
title: getTitle(courseName) + " Settings",
|
||||
};
|
||||
}
|
||||
|
||||
export default function page() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user