mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-27 07:58:31 -06:00
doing more trpc, still working on preloading
This commit is contained in:
@@ -4,11 +4,12 @@ import {
|
||||
getDateOnlyMarkdownString,
|
||||
} from "@/models/local/timeUtils";
|
||||
|
||||
export default function page({
|
||||
params: { lectureDay },
|
||||
export default async function page({
|
||||
params,
|
||||
}: {
|
||||
params: { lectureDay: string };
|
||||
params: Promise<{ lectureDay: string }>;
|
||||
}) {
|
||||
const { lectureDay } = await params;
|
||||
const decodedLectureDay = decodeURIComponent(lectureDay);
|
||||
console.log(decodedLectureDay);
|
||||
const lectureDate = getDateFromStringOrThrow(
|
||||
|
||||
Reference in New Issue
Block a user