File tree Expand file tree Collapse file tree 4 files changed +2124
-4765
lines changed Expand file tree Collapse file tree 4 files changed +2124
-4765
lines changed Original file line number Diff line number Diff line change 11import { auth } from "@/auth" ;
22import { getAcademicYear } from "@/lib/config" ;
33import { getAcademicYearsInDB } from "@/lib/crud/academic-year" ;
4- // import { getImportList } from "@/lib/crud/importCsv";
4+ import { getImportList } from "@/lib/crud/importCsv" ;
55import { Stack , Title } from "@mantine/core" ;
66import { redirect } from "next/navigation" ;
77import React from "react" ;
@@ -18,7 +18,7 @@ export default async function Index() {
1818 const currentAcademicYear = await getAcademicYear ( ) ;
1919 const academicYears = await getAcademicYearsInDB ( ) ;
2020
21- // const imports = await getImportList();
21+ const imports = await getImportList ( ) ;
2222
2323 return (
2424 < Stack gap = "lg" >
@@ -27,7 +27,7 @@ export default async function Index() {
2727 currentAcademicYear = { currentAcademicYear }
2828 validAcaemicYears = { academicYears }
2929 />
30- { /* <ImportsList imports={imports} /> */ }
30+ < ImportsList imports = { imports } />
3131 </ Stack >
3232 ) ;
3333}
Original file line number Diff line number Diff line change 22/// <reference types="next/image-types/global" />
33
44// NOTE: This file should not be edited
5- // see https://nextjs.org/docs/basic-features /typescript for more information.
5+ // see https://nextjs.org/docs/app/building-your-application/configuring /typescript for more information.
You can’t perform that action at this time.
0 commit comments