18 lines
589 B
TypeScript
18 lines
589 B
TypeScript
import ConsultStudents from "$root/routes/(apps)/students/(_islands)/ConsultStudents.tsx";
|
|
import { getPartialsConfig, makePartials } from "$root/defaults/makePartials.tsx";
|
|
import { FreshContext } from "$fresh/server.ts";
|
|
import { State } from "$root/routes/_middleware.ts";
|
|
//import EditStudents from "../(_islands)/EditStudents.tsx";
|
|
|
|
async function Students(_request: Request, _context: FreshContext<State>) {
|
|
return (
|
|
<>
|
|
<h1>Manage Promotions</h1>
|
|
<ConsultStudents />
|
|
</>
|
|
);
|
|
}
|
|
|
|
export const config = getPartialsConfig();
|
|
export default makePartials(Students);
|