Add Term Type #361

Merged
j285he merged 11 commits from j285he-add-term-type into main 2022-01-19 20:19:15 -05:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 131a667ddf - Show all commits

View File

@ -2,9 +2,9 @@ import { GetStaticProps } from "next";
import { getCurrentTerm, getEventsPageProps } from "@/lib/events";
import TermEvent, { Props } from "./[year]/[term]";
import TermPage, { Props } from "./[year]/[term]";
export default TermEvent;
export default TermPage;
export const getStaticProps: GetStaticProps<Props> = async () => {
return { props: await getEventsPageProps(getCurrentTerm()) };