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 1
1
import { auth } from "@/auth" ;
2
2
import { getAcademicYear } from "@/lib/config" ;
3
3
import { getAcademicYearsInDB } from "@/lib/crud/academic-year" ;
4
- // import { getImportList } from "@/lib/crud/importCsv";
4
+ import { getImportList } from "@/lib/crud/importCsv" ;
5
5
import { Stack , Title } from "@mantine/core" ;
6
6
import { redirect } from "next/navigation" ;
7
7
import React from "react" ;
@@ -18,7 +18,7 @@ export default async function Index() {
18
18
const currentAcademicYear = await getAcademicYear ( ) ;
19
19
const academicYears = await getAcademicYearsInDB ( ) ;
20
20
21
- // const imports = await getImportList();
21
+ const imports = await getImportList ( ) ;
22
22
23
23
return (
24
24
< Stack gap = "lg" >
@@ -27,7 +27,7 @@ export default async function Index() {
27
27
currentAcademicYear = { currentAcademicYear }
28
28
validAcaemicYears = { academicYears }
29
29
/>
30
- { /* <ImportsList imports={imports} /> */ }
30
+ < ImportsList imports = { imports } />
31
31
</ Stack >
32
32
) ;
33
33
}
Original file line number Diff line number Diff line change 2
2
/// <reference types="next/image-types/global" />
3
3
4
4
// 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