2021-08-27 18:37:42 -04:00
|
|
|
import { GetStaticProps } from "next";
|
|
|
|
|
|
|
|
import { getCurrentTerm, getEventsPageProps } from "@/lib/events";
|
|
|
|
|
2022-01-19 20:19:13 -05:00
|
|
|
import TermPage, { Props } from "./[year]/[term]";
|
2021-08-27 18:37:42 -04:00
|
|
|
|
2022-01-19 20:19:13 -05:00
|
|
|
export default TermPage;
|
2021-08-27 18:37:42 -04:00
|
|
|
|
|
|
|
export const getStaticProps: GetStaticProps<Props> = async () => {
|
|
|
|
return { props: await getEventsPageProps(getCurrentTerm()) };
|
|
|
|
};
|