import { FreshContext } from "$fresh/server.ts";
import { AuthenticatedState } from "$root/defaults/interfaces.ts";
import NoteRecap from "../(_islands)/NoteRecap.tsx";

// deno-lint-ignore require-await
export default async function EditionPage(
  _request: Request,
  context: FreshContext<AuthenticatedState>,
) {
  const numEtud = Number(context.params.numEtud);
  return <NoteRecap numEtud={numEtud} />;
}
